This issue is similar to #2226901: Decrease JS specificity to allow "button" elements but addresses a different issue. There are still parts in the JS file hierarchical_select/hierarchical_select.js that specifically expects an input[type=submit]>. If there is a theme (e.g. Bootstrap) that replaces the <input> with <button> fields they will not be disabled when the hierarchical selects is being rebuilt.

There are two functions that I think should be fixed:

  • Drupal.HierarchicalSelect.disableForm
  • Drupal.HierarchicalSelect.enableForm
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

madmanmax created an issue. See original summary.

madmanmax’s picture

Status: Active » Needs review
FileSize
1.98 KB
deepakaryan1988’s picture

#2 works for me!!
:)

stefan.r’s picture

Status: Needs review » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.