Opened 15 years ago
Closed 15 years ago
#9956 closed defect (bug) (fixed)
Fix for submenu position and state on folded admin menu
Reported by: | sambauers | Owned by: | |
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | normal | Version: | 2.8 |
Component: | Administration | Keywords: | javascript |
Focuses: | Cc: |
Description
This patch has better math for determining the lower bounds of the pop-out sub menus in the "folded" admin menu.
The existing math is a bit hit and miss as it uses some strange derivative of the cursor position on mouse-over.
Also, the menu state should always be restored to apply proper classes to submenus, even when they are folded up. This allows the unfolding to reveal the right submenus straight away rather than on a page refresh.
Attachments (2)
Change History (7)
#2
@
15 years ago
Also, this needs some basic cross-browser testing, although it only uses jQuery methods, so all the numbers should be right across browsers.
Note: See
TracTickets for help on using
tickets.
Sorry, I wasn't sure how to make the non-dev version of the JS file.