Posted by XerraX on April 2, 2009 at 2:43pm
| Project: | SimpleMenu |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
If site is opend in Internet Explorer (any version) and something with ajax happens (e.g. ajax_comments or popups), simple menu just clones itself...
(see attachment)
Apache 2.2.11
PHP 5.2.9
MySQL 5.1.32
Drupal 6.10
Seriously need help on this.
| Attachment | Size |
|---|---|
| IE-Problem.jpg | 140.65 KB |
Comments
#1
#2
i fixed this by reverting
Drupal.behaviors.simplemenuAttach = function(context)
back to
$(document).ready(function()
#3
I'm seeing a similar behavior in Firefox, when editing views or blocks. Is the solution above a good one? If so, where do I put that? Thanks!
#4
since i dont know how to create a patch, i will give you my file.
take the file, rename it to simplemenu.js and put it into your "simplemenu" folder
#5
Patching this issue is quite simple. We must prevent Drupal behaviours from beeing processed twice. I've attached patch. It works for me.
#6
patch works great. thanks.
#7
Patched applied, looks good to me. 8-)
It will be checked in shortly.
Thank you.
Alexis Wilke
#8
Automatically closed -- issue fixed for 2 weeks with no activity.