when a colorbox is displayed it does not call attachBehaviors which allows other javascript code to act on the new elements added to the page.

adding the following to all colorbox calls would fix the issue

    onComplete: function(element){
      Drupal.attachBehaviors(element);
    }
CommentFileSizeAuthor
#1 colorbox_attachbehaviors_ 971746.patch659 bytesfrjo

Comments

frjo’s picture

Category: bug » task
Status: Active » Needs review
StatusFileSize
new659 bytes

Thanks for reporting this problem. Please test this patch and report back here.

recrit’s picture

Status: Needs review » Reviewed & tested by the community

patch worked great for me. thanks!

frjo’s picture

Thanks, committed to 6-dev.

frjo’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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