Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
ajax system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 May 2010 at 04:47 UTC
Updated:
4 Jun 2010 at 05:13 UTC
Jump to comment: Most recent file
Comments
Comment #1
rfay@oziris, could you please post code that demonstrates this? A little test module would help.
Thanks!
Comment #2
Nick Lewis commentedIn drupal 6 this was a common symptom of forgetting to call Drupal.AttachBehaviors on the markup returned by ajax. Marking this as a support request until we can get a test module or code example to demonstrate the issue. (ahah seems to work fine in the rest of drupal 7 as far as i can tell...)
Comment #3
Nick Lewis commented(double posted for some reason)
Comment #4
rfay@oziris, I made a sample module and tested this and find no problems, so we'll put this one aside unless you can provide an example of the failure.
My sample module is attached. Use the "AJAX Bugs: Fieldset can't be expanded" menu item. Works fine for me.
Comment #5
rfayActually, I can demonstrate if the fieldset is *added* in the AJAX build (if it's not there the first time around).
That makes this a duplicate of #768128: ajax callbacks can't apply #attached if I'm understanding it correctly. See the demo module posted there in #768128-9: ajax callbacks can't apply #attached