[open-ils-commits] r18710 - trunk/Open-ILS/xul/staff_client/chrome/content/main (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Nov 11 12:41:16 EST 2010


Author: phasefx
Date: 2010-11-11 12:41:13 -0500 (Thu, 11 Nov 2010)
New Revision: 18710

Modified:
   trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js
Log:
patch from bshum to bring his Search Catalog button in the button bar inline with tsbere's r18431 for new tab vs current tab functionality with the button bar


Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js	2010-11-11 17:02:03 UTC (rev 18709)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js	2010-11-11 17:41:13 UTC (rev 18710)
@@ -267,10 +267,10 @@
             ],
             'cmd_search_opac' : [
                 ['oncommand'],
-                function() {
+                function(event) {
                     obj.data.stash_retrieve();
                     var content_params = { 'session' : ses(), 'authtime' : ses('authtime') };
-                    obj.set_tab(obj.url_prefix(urls.XUL_OPAC_WRAPPER), {'tab_name':offlineStrings.getString('menu.cmd_search_opac.tab')}, content_params);
+                    obj.command_tab(event,obj.url_prefix(urls.XUL_OPAC_WRAPPER), {'tab_name':offlineStrings.getString('menu.cmd_search_opac.tab')}, content_params);
                 }
             ],
             'cmd_search_tcn' : [



More information about the open-ils-commits mailing list