On Drupal.HierarchicalSelect.update function if updateType is 'update-hierarchical-select' and an item does not have children don't do a callback to the server, the code exists but doesn't work.

I have attached a patch against HEAD to prevent do a callback to the server when an item does not have children.

Related issue: #284739: Don't do a callback to the server when an item does not have children

CommentFileSizeAuthor
hierarchical_select-no-callback.patch709 bytessmartinm
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

chuckbar77’s picture

subscribing

Wim Leers’s picture

Title: Don't do a callback to the server always when update hierarchical select » Don't always perform a callback to the server when updating
Status: Needs review » Fixed

Very strange! This must have been a regression, because this surely was working at some point in time. Thank you very much! :)

Committed!

http://drupal.org/cvs?commit=495040

Wim Leers’s picture

This was due to the patch committed for #797016: Compatibility with pop-ups.

Status: Fixed » Closed (fixed)
Issue tags: -Performance

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