I needed to attach behaviors after loading an ajax thickbox so things like collapsible fieldsets would work. Seems like a good idea in general.

CommentFileSizeAuthor
behaviors.patch803 bytesjody lynn

Comments

frjo’s picture

Thanks for the patch. If others can confirm that this has no ill effects I will commit it.

tizzo’s picture

Works for me. I think Drupal.attachBehaviors() should be run on everything added by ajax generally.

frjo’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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