Closed (fixed)
Project:
Node Relationships
Version:
6.x-1.0
Component:
Node relationships extensions
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Aug 2009 at 19:15 UTC
Updated:
27 Aug 2009 at 19:30 UTC
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...
Comments
Comment #1
markus_petrux commentedhttp://drupal.org/cvs?commit=250764
Comment #2
markus_petrux commentedWrong version, sorry. Fixed.
Comment #3
markus_petrux commentedUgh!