once returned to the node form, if there is a form error for any field hs seems disabled (i see the no-javascript replacement with the update button...)

Comments

wim leers’s picture

Assigned: Unassigned » wim leers
Status: Active » Postponed (maintainer needs more info)

Please provide a screencast.

gunzip’s picture

It's because when the form is submitted the variable $_POST['form_build_id'] IS set
so this control:

  if (!isset($_POST['form_build_id'])) {
    _hierarchical_select_setup_js();

fails and the javascripts are never added to the page.

wim leers’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

Interesting that nobody had noticed this until now. Good catch. This was a regression due to another patch actually.

Changed in 1.146:
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/hierarchica...

The other patch: http://drupal.org/node/354445.

That's also where this problem was already reported. Please look there (http://drupal.org/node/354445#comment-1381118) for details. But thanks for your report and thanks for pointing out the cause. Saved me a couple of minutes of my time :)