No subject


Fri Apr 16 10:15:54 EDT 2010


pref("open-ils.toolbar.defaultnewtab", false);

I had to set this to "true" in order to have the toolbar button open a
new tab instead of the current tab.  With this set to "false", this
behavior only occurred when holding down the CTRL key for the opposite.

Also, I noted that the behavior for the cmd_patron_search key was a bit
off where it wouldn't always adhere to the new tab function and replaced
the existing tab's contents instead when calling it up.  Might be
conflicts between 1.6 vs. trunk or my poor attempts at adapting it. 
Will poke around a bit more.

All around quite promising though!  Thanks for sharing!

-- Ben

On 10/20/2010 04:33 PM, Thomas Berezansky wrote:
> 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
>
>
>
>


More information about the Open-ils-dev mailing list