function hser_node_validate in Hierarchical Select 7.3
Implements hook_node_validate().
Temporary workaround for https://drupal.org/node/1293166 - remove when that bug is fixed.
File
- modules/
hser/ hser.module, line 128 - Allows hierarchical select to be used with entity reference fields.
Code
function hser_node_validate($node, $form, &$form_state) {
if (arg(0) == 'hierarchical_select_ajax') {
form_set_error('');
}
}