ajaxForm "after" callback should call Drupal.attachBehaviors()
James Andres - August 20, 2009 - 02:46
| Project: | Advanced Poll |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
Because ajaxForm alters the DOM, in order to be compatible with Drupal behaviors the ajaxForm "after" callback should call Drupal.attachBehaviors(). This allows designers and contributed modules change the returned HTML.
| Attachment | Size |
|---|---|
| advpoll-vote.js_.attachBehaviors.patch | 658 bytes |
