]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Patch from tsbere for new tab versus current tab behavior with the button bar:
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 20 Oct 2010 21:10:51 +0000 (21:10 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 20 Oct 2010 21:10:51 +0000 (21:10 +0000)
commit0df5b952af45f50839a969cb0e21adfe488aa1e4
tree2419fc618b5232f9693cd1998fdf0d0a874d7714
parent95f9c26ef1f9ac6c713c5408f762ce5e600e3e58
Patch from tsbere for new tab versus current tab behavior with the button bar:
---
The attached patch to trunk adds the ability to set an open-ils.toolbar.defaultnewtab preference to cause the toolbar buttons to open in a new tab instead of the current tab. Holding the "accel" key (default of ctrl on windows/linux and command on mac) will do the opposite.

I only applied this to the five commands currently in use on the toolbar for now. Any other commands added to the toolbar will need to have their command handlers in menu.js updated.

Thomas Berezansky
Merrimack Valley Library Consortium

git-svn-id: svn://svn.open-ils.org/ILS/trunk@18431 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/xul/staff_client/chrome/content/main/menu.js
Open-ILS/xul/staff_client/chrome/content/util/controller.js
Open-ILS/xul/staff_client/defaults/preferences/prefs.js