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.

AttachmentSize
IE-Problem.jpg140.65 KB

Comments

#1

Version:6.x-2.x-dev» 6.x-1.x-dev

#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

AttachmentSize
simplemenu.js_.txt 2.64 KB

#5

Status:active» needs review

Patching this issue is quite simple. We must prevent Drupal behaviours from beeing processed twice. I've attached patch. It works for me.

AttachmentSize
simplemenu-enabled.patch 453 bytes

#6

Status:needs review» reviewed & tested by the community

patch works great. thanks.

#7

Status:reviewed & tested by the community» fixed

Patched applied, looks good to me. 8-)

It will be checked in shortly.

Thank you.
Alexis Wilke

#8

Status:fixed» closed (fixed)

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

nobody click here