| Project: | Double Click |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Seems like some js code collides. Typically, using the DHTML Menu module, when you click on a collapsible menu item it opens/closes with dhtml without opening the linked node/page (i.e. 'administer').
After enabling this module this behavior is broken. Although the menu unfolds on click the link begins loading too.
Only seems to happen with firefox (2.0.0.1) opera (9.1) (for roles with access), while in IE (both 6 & 7) the double click module does not work (double clicks get recognized as single ones) and DHTML works fine.
I haven't had time to look into the core codes yet though but there's gotta be some js function/var that is in use in both modules... or something with jquery...? No clue.
Take a look.
Phil
Comments
#1
confirm this bug.
here's a fix.
i also added in some additional tweaks to the JS and how the dest var was handled.
#2
#3
Thx, but could you please make a patch for the latest HEAD.
#4
ok.. sorry about that.
i see head has some nice changes too!
#5
i added a comment to this patch.
#6
Awesome, finally :)
#7
lol.
#8
jjeff committed this already.
#9
You beat me to it, Steve!
Yes. Committed.
#10
hehe.
#11
I just downloaded dblclick-5.x-1.x-dev.tar from Jan 17th and have tried it both with DHTML menus HEAD and the official release, dhtml_menu-5.x-0.7.
With FF2.0 and XP, I'm still having conflicts. Dblclick itself doesn't seem to work with dhtml_menu HEAD, and it's breaking the double-click feature of dhtlm_menu.
Understandable if this is a conflict you can't resolve. I would hate to have to choose between two great modules...
#12
Yeah. I'm aware of the conflicts. I think something is going to need to change at the DHTML Menu end as well. This is going to requires some thought to coordinate. If anyone has ideas/patches, please let me know.
#13
http://drupal.org/node/117370
this will solve it as the dblclick() event is being removed from the module.