Posted by Scott Reynolds on May 18, 2010 at 11:21pm
2 followers
| Project: | Active Tags |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Issue Summary
Whenever any html is added or removed from the page Drupal.attachBehaviors should be run on the new html that way other behaviors can attach to it.
Here is a patch for that.
| Attachment | Size |
|---|---|
| active_tags_attach.patch | 1.8 KB |
Comments
#1
I release that clicking the x to remove a tag no longer worked :-D here is a fix for that.
#2
This is good work but I see several issues.
Thanks.
#3
Doh! could call
So then in the remove click function then, it should attachBehaviors.
It created an infinite loop as it called activeTagsUpdate() which then calls attachBehaviors.