public opac
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 10 Mar 2006 15:34:08 +0000 (15:34 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 10 Mar 2006 15:34:08 +0000 (15:34 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@3322 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 93a5132..9f72dd7 100644 (file)
@@ -250,6 +250,13 @@ main.menu.prototype = {
                                        obj.window.open(obj.url_prefix(urls.XUL_SURVEY_WIZARD)+ '?session='+window.escape(session),'survey_wizard','chrome'); 
                                }
                        ],
+                       'cmd_public_opac' : [
+                               ['oncommand'],
+                               function() {
+                                       obj.set_tab(urls.remote, {'tab_name':'OPAC'}, {} );
+                               }
+                       ],
+
 
                };
 
index b9bf548..58aa5dd 100644 (file)
@@ -21,6 +21,7 @@
        <command id="cmd_in_house_use" key="circ-in-house-use" />
        <command id="cmd_copy_status" key="copy-status-key" />
        <command id="cmd_search_opac" key="search-opac-key" />
+       <command id="cmd_public_opac" />
        <command id="cmd_search_tcn" />
        <command id="cmd_patron_register" key="patron-register-key" />
        <command id="cmd_survey_wizard" />
                <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="Test Module" accesskey="T" command="cmd_test"/>
                <menuitem label="XUL Test" accesskey="X" command="cmd_xuleditor"/>
                <menuitem label="Fieldmapper" accesskey="m" command="cmd_fieldmapper"/>