browser wrapper for pull list and public opac
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 12 Mar 2006 07:14:21 +0000 (07:14 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 12 Mar 2006 07:14:21 +0000 (07:14 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@3338 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/main/menu.js
Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul

index 9005d45..fb278f7 100644 (file)
@@ -158,7 +158,10 @@ main.menu.prototype = {
                        'cmd_circ_hold_pull_list' : [
                                ['oncommand'],
                                function() { 
-                                       obj.set_tab(obj.url_prefix(urls.XUL_HOLD_PULL_LIST) + '?ses='+window.escape(session),{},{});
+                                       var loc = urls.XUL_REMOTE_BROWSER + '?url=' + window.escape(
+                                               obj.url_prefix(urls.XUL_HOLD_PULL_LIST) + '?ses='+window.escape(session)
+                                       );
+                                       obj.set_tab( loc, {'tab_name':'On Shelf Pull List'}, { 'show_print_button' : true, } );
                                }
                        ],
 
@@ -260,7 +263,14 @@ main.menu.prototype = {
                        'cmd_public_opac' : [
                                ['oncommand'],
                                function() {
-                                       obj.set_tab(urls.remote, {'tab_name':'OPAC'}, {} );
+                                       var loc = urls.XUL_BROWSER + '?url=' + window.escape(
+                                               urls.remote
+                                       );
+                                       obj.set_tab( 
+                                               loc, 
+                                               {'tab_name':'OPAC'}, 
+                                               { 'no_xulG' : true, 'show_nav_buttons' : true, 'show_print_button' : true, } 
+                                       );
                                }
                        ],
 
index 3c7cf92..739170f 100644 (file)
                <menuitem label="&staff.main.menu.circ.checkout.label;" accesskey="&staff.main.menu.circ.checkout.key;" key="circ-checkout-key" command="cmd_circ_checkout"/>
                <menuitem label="&staff.main.menu.circ.checkin.label;" accesskey="&staff.main.menu.circ.checkin.key;" key="circ-checkin-key" command="cmd_circ_checkin"/>
                <menuitem label="&staff.main.menu.circ.hold_capture.label;" accesskey="&staff.main.menu.circ.hold_capture.key;" key="circ-hold-capture-key" command="cmd_circ_hold_capture"/>
-               <menuitem label="On Shelf Hold Pull List" command="cmd_circ_hold_pull_list"/>
+               <menuitem label="On Shelf Hold Pull List" accesskey="S" command="cmd_circ_hold_pull_list"/>
                <menuitem label="In-House Use" accesskey="I" key="circ-in-house-use-key" command="cmd_in_house_use"/>
                <menuseparator />
                <menuitem label="&staff.main.menu.circ.copy_status.label;" accesskey="&staff.main.menu.circ.copy_status.key;" key="copy-status-key" command="cmd_copy_status"/>
                <menuitem label="Non-Cataloged Type Editor" accesskey="n" command="cmd_non_cat_type_edit"/>
                <menuitem label="Copy Location Editor" accesskey="L" command="cmd_copy_location_edit"/>
                <menuseparator />
-               <menuitem label="Public OPAC" command="cmd_public_opac"/>
+               <menuitem label="Public OPAC" command="cmd_public_opac" accesskey="p"/>
                <menuitem label="Test Module" accesskey="T" command="cmd_test"/>
                <menuitem label="XUL Test" accesskey="X" command="cmd_xuleditor"/>
                <menuitem label="Fieldmapper" accesskey="m" command="cmd_fieldmapper"/>