[open-ils-commits] r20280 - in trunk/Open-ILS/xul/staff_client: chrome/content/main server (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Apr 22 10:28:31 EDT 2011


Author: phasefx
Date: 2011-04-22 10:28:29 -0400 (Fri, 22 Apr 2011)
New Revision: 20280

Modified:
   trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js
   trunk/Open-ILS/xul/staff_client/server/index.xhtml
Log:
Turn off non-working print button for holds pull

https://bugs.launchpad.net/evergreen/+bug/727983

Author: Thomas Berezansky <tsbere at mvlc.org>
Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>
Signed-off-by: Jason Etheridge <jason at esilibrary.com>


Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js	2011-04-22 14:00:53 UTC (rev 20279)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js	2011-04-22 14:28:29 UTC (rev 20280)
@@ -579,7 +579,7 @@
                     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')} );
                 }
             ],
 

Modified: trunk/Open-ILS/xul/staff_client/server/index.xhtml
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/index.xhtml	2011-04-22 14:00:53 UTC (rev 20279)
+++ trunk/Open-ILS/xul/staff_client/server/index.xhtml	2011-04-22 14:28:29 UTC (rev 20280)
@@ -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)



More information about the open-ils-commits mailing list