]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Add locale-aware menu sort, use it for admin menu
authorThomas Berezansky <tsbere@mvlc.org>
Mon, 5 Mar 2012 21:14:43 +0000 (16:14 -0500)
committerJason Etheridge <jason@esilibrary.com>
Tue, 6 Mar 2012 15:37:12 +0000 (10:37 -0500)
commita7243f4497ddcb42c39188e6c82c879020e95eff
treea88dd02ea1aa72401260150acd290dfd497f66e0
parent4bbe4a9636490c587ca763fb0aedcbf29f33d8a8
Add locale-aware menu sort, use it for admin menu

Sort function can do recursive sorting and is menuseparator aware, sorting
within blocks defined by menuseparators.

Note: If a menu item has forceFirst set as an attribute it will be put in
front of the current sort group. So far this is only used to keep the
operator change menu item at the top of the admin menu.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/xul/staff_client/chrome/content/main/menu.js
Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul