You are here

function _taxonomy_menu_ahah_disable_validation in Taxonomy menu 6.3

Disable the validation so the AHAH can be returned. Borrowed from the AHAH_HELPER module.

1 call to _taxonomy_menu_ahah_disable_validation()
taxonomy_menu_ahah_helper in ./taxonomy_menu.admin.inc
AHAH helper

File

./taxonomy_menu.admin.inc, line 608
admin section for taxonomy menu

Code

function _taxonomy_menu_ahah_disable_validation(&$form) {
  foreach (element_children($form) as $child) {
    $form[$child]['#validated'] = TRUE;
    _taxonomy_menu_ahah_disable_validation($form[$child]);
  }
}