Multiple Simple Menus in IE
XerraX - April 2, 2009 - 14:43
| Project: | SimpleMenu |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
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 |

#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.