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');

Comments

donquixote’s picture

Ok, so I should use a class other than "expanded". Such as, dqx_adminmenu-expanded.
I hate this :(

donquixote’s picture

Ah, wait.. you mean, that the expanded class is added to li elements outside of the menu.. ouch!
This is serious.

donquixote’s picture

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

donquixote’s picture

I will publish this as rc5, as soon as I get some feedback.

donquixote’s picture

I release it whatsoever.

donquixote’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

minor edits