From: phasefx Date: Thu, 11 Nov 2010 17:41:13 +0000 (+0000) Subject: patch from bshum to bring his Search Catalog button in the button bar inline with... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d55679acb630ca80202ec9532a21abe532a2b377;p=evergreen%2Fmasslnc.git 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 git-svn-id: svn://svn.open-ils.org/ILS/trunk@18710 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/chrome/content/main/menu.js b/Open-ILS/xul/staff_client/chrome/content/main/menu.js index e0981739e2..658182f9df 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu.js @@ -267,10 +267,10 @@ main.menu.prototype = { ], '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' : [