When the form is submitted and there are validation errors, the buttons enabled for node reference extras (search/create and reference, etc.) disappear.

This happens because on validation errors the form is not rebuilt again, hook_form_alter() is not invoked, our after build callback either, which is where we were sending the javascript to the page.

This can be solved using a pre_render callback instead of an after_build callback.

Patch coming...


markus_petrux’s picture

Status:Active» Fixed
markus_petrux’s picture

Version:6.x-1.0-beta3» 6.x-1.x-dev

Wrong version, sorry. Fixed.

markus_petrux’s picture

Version:6.x-1.x-dev» 6.x-1.0


Status:Fixed» Closed (fixed)

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