Using the menu toggle on AJAXy pages (in my case ajaxblocks), the menu behaviors get executed twice, leading to broken functionality (tags get wrapped twice, the listener gets registered twice etc). I was able to resolve this by adding the behavior context to the jQuery selectors - see attached patch. Someone more familiar with the code may be able to identify if we need to add others also, but these seem to do the job for me.

Files: 
CommentFileSizeAuthor
menu-toggle-context.patch2.43 KBOwen Barton

Comments

Version:7.x-3.1» 7.x-3.x-dev
Issue summary:View changes
Status:Needs review» Fixed

Hmmm, better late than never, code looks good, committed! Thank-you :)

Status:Fixed» Closed (fixed)

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