Commit 2eca66e6 authored by Graham Faulkner's avatar Graham Faulkner
Browse files

add missing wide text js handler

parent 2c0e7147
......@@ -40,7 +40,7 @@ function uw_ct_exhibit_enable() {
db_update('node_type')->fields(array('disabled' => 0, ))->condition('type', 'uw_exhibit', '=')->execute();
// close comments for exhibits by default
variable_set('comment_uw_exhibit', '1');
//variable_set('comment_uw_exhibit', '1');
//enable the view
$views_status = variable_get('views_defaults', array()); //read in any existing disabled views
......
......@@ -42,6 +42,9 @@ function uw_ct_exhibit_form_alter(&$form, &$form_state, $form_id) {
}
}
}
// load JavaScript to make wide pages handler cleaner
$form['#after_build'][] = 'uw_ct_exhibit_wide_handler';
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment