function hierarchical_select_ajax_data_alter in Hierarchical Select 6.3
Implementation of hook_ajax_data_alter(). (Necessary for Views AJAX pager support.)
File
- ./
hierarchical_select.module, line 2352 - This module defines the "hierarchical_select" form element, which is a greatly enhanced way for letting the user select items in a hierarchy.
Code
function hierarchical_select_ajax_data_alter(&$object, $module, $view) {
global $views_ajax_form_js_settings;
if (!empty($views_ajax_form_js_settings)) {
$object->hs_drupal_js_settings = $views_ajax_form_js_settings;
$object->__callbacks = array_merge(array(
'Drupal.HierarchicalSelect.ajaxViewPagerSettingsUpdate',
), $object->__callbacks);
}
}