Upon upgrading to rc4 I started to notice that on mouseover, any <li> was getting a class of "expanded" which was screwing things up due to that class being used for other things in my css. I think it's related to this code:
activeItem && activeItem.trailEnd(commonParentDepth).removeClass('expanded');
mouseItem && mouseItem.trailEnd(commonParentDepth).addClass('expanded');
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | dqx_adminmenu.1418882-3.expanded-class-outside-of-menu-tree.6-x-3-x.patch | 6.82 KB | donquixote |
Comments
Comment #1
donquixote commentedOk, so I should use a class other than "expanded". Such as, dqx_adminmenu-expanded.
I hate this :(
Comment #2
donquixote commentedAh, wait.. you mean, that the expanded class is added to li elements outside of the menu.. ouch!
This is serious.
Comment #3
donquixote commentedAttached patch should solve the problem (along with a bit of refactoring).
I am going to commit it to the dev branch. If you don't want to wait for the packaging script, you can pull from git instead, or deploy the patch.
Comment #4
donquixote commentedI will publish this as rc5, as soon as I get some feedback.
Comment #5
donquixote commentedI release it whatsoever.
Comment #6
donquixote commentedComment #7.0
(not verified) commentedminor edits