When JS content is loaded on the page, Drupal.attachBehaviors() is called and all behaviors re-fire. This is a problem for external, because it has no processed class attached to links. What ends up happening is the click behavior is attached to links two/three/whatever depending on how many times Drupal.attachBehaviors() runs.

The fix is to attach a processed class to the links so they only have one click action attached. Patch forthcoming.

CommentFileSizeAuthor
#1 1262878-1.patch1.14 KBrjbrown99

Comments

rjbrown99’s picture

Status: Active » Needs review
StatusFileSize
new1.14 KB

Here is a patch against the 'master' branch as of today. It's a git diff.

jday’s picture

Status: Needs review » Reviewed & tested by the community

I applied the patch to 6.x-1.9 and it works perfectly

likewhoa’s picture

Status: Reviewed & tested by the community » Fixed

commited to master branch. thanks.

Status: Fixed » Closed (fixed)

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