some toolbar fixes collab/phasefx/toolbar
authorJason Etheridge <jason@esilibrary.com>
Wed, 13 Jun 2012 06:30:36 +0000 (02:30 -0400)
committerJason Etheridge <jason@esilibrary.com>
Tue, 18 Sep 2012 20:35:36 +0000 (16:35 -0400)
commit25bf4ecd08f32d2828a476257b679fc521289e38
treef7491e3fc68714fc8bc35c564fd888335692f454
parente1a7501799119e0f305616af5bf97149d9bdf4c0
some toolbar fixes

* tweak "GUI: Button Bar" org unit setting to accept either the label or
  id for an existing toolbar, and have it actually work when a window is
  opened
* expose hard-coded toolbar layout option as a Default menu entry

If the open-ils.menu.toolbar preference or ui.general.button_bar org unit
setting references a non-existent toolbar, then a hard-coded stock toolbar
will render.  However, the menu entry 'None' will be selected under the
Admin -> Workstation Administration -> Toolbars -> Current menu, which is
confusing.

With this change, a Default menu entry will be selected whenever the hard-
coded layout has cause to render, and you can also explicitly select that
menu entry to use the default and save it as your workstation default.

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.org-setting-ui.general.button_bar.sql [new file with mode: 0644]
Open-ILS/xul/staff_client/chrome/content/main/menu.js
Open-ILS/xul/staff_client/chrome/locale/en-US/offline.properties