If you click a menu item that is not a tree, Firebug will report an error (right before the page changes to go to your requested click) about "elem" not having properties or being defined, or some such. Adding in breakpoints suggests line 27:
Drupal.dhtmlMenu.switchMenu($('#'+ id)[0], $(this).parents()[0]);
I suspect doing something like "if clicked menu has class 'leaf', don't fire." would solve this.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | selectorfix.patch | 611 bytes | morbus iff |
Comments
Comment #1
morbus iffPatch attached.
Comment #2
Anonymous (not verified) commentedfixed in HEAD.
Comment #3
(not verified) commentedComment #4
cburschkaI originally thought http://drupal.org/node/157718 was a regression of this, but examination of the CVS log reveals that this patch was never actually implemented. The only bugfix commit in that time frame is 1.8, and did not contain it.
The other issue has been fixed, so this can be marked a dupe now.