From: phasefx Date: Fri, 22 Apr 2011 14:28:51 +0000 (+0000) Subject: Turn off non-working print button for holds pull X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6f929dc4b7e1677148fbd039e0104c3d402e2467;p=evergreen%2Ftadl.git Turn off non-working print button for holds pull https://bugs.launchpad.net/evergreen/+bug/727983 Author: Thomas Berezansky Signed-off-by: Thomas Berezansky Signed-off-by: Jason Etheridge git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_1@20281 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 b146f01447..2f56b15009 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu.js @@ -579,7 +579,7 @@ main.menu.prototype = { var loc = urls.XUL_BROWSER + '?url=' + window.escape( obj.url_prefix(urls.XUL_HOLD_PULL_LIST) ); - obj.command_tab(event, loc, {'tab_name' : offlineStrings.getString('menu.cmd_browse_hold_pull_list.tab')}, { 'show_print_button' : true } ); + obj.command_tab(event, loc, {'tab_name' : offlineStrings.getString('menu.cmd_browse_hold_pull_list.tab')} ); } ], diff --git a/Open-ILS/xul/staff_client/server/index.xhtml b/Open-ILS/xul/staff_client/server/index.xhtml index 6f8a748305..44b6c81731 100644 --- a/Open-ILS/xul/staff_client/server/index.xhtml +++ b/Open-ILS/xul/staff_client/server/index.xhtml @@ -149,12 +149,11 @@ function hold_pull_list(newtab) { var loc = urls.XUL_REMOTE_BROWSER + '?url=' + window.escape(urls.XUL_HOLD_PULL_LIST + '?ses=' + window.escape(ses())); var params = {'tab_name':'On Shelf Pull List'}; - var content_params = {'show_print_button':true}; if(newtab) - xulG.new_tab(loc, params, content_params); + xulG.new_tab(loc, params); else - xulG.set_tab(loc, params, content_params); + xulG.set_tab(loc, params); } function checkout(newtab) { if(newtab)