plugging in Bill's copy location editor
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 3 Feb 2006 20:48:19 +0000 (20:48 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 3 Feb 2006 20:48:19 +0000 (20:48 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2969 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index f04aa9b..e1be7c6 100644 (file)
@@ -58,6 +58,7 @@ var urls = {
        'XUL_CHECKOUT' : '/xul/server/circ/checkout.xul',
        'XUL_CAT_DETAILS' : 'chrome://open_ils_staff_client/content/cat/details.xul',
        'XUL_COPY_EDITOR' : '/xul/server/cat/copy_editor.xul',
+       'XUL_COPY_LOCATION_EDIT' : '/xul/server/admin/copy_locations.xml',
        'XUL_COPY_VOLUME_BROWSE' : 'chrome://open_ils_staff_client/content/legacy/_browse.xul',
        'XUL_DEBUG_CONSOLE' : 'chrome://global/content/console.xul',
        'XUL_DEBUG_FIELDMAPPER' : '/xul/server/util/fm_view.xul',
index 982f0f4..6c114f2 100644 (file)
@@ -117,7 +117,12 @@ main.menu.prototype = {
                                        obj.set_tab(obj.url_prefix(urls.XUL_NON_CAT_LABEL_EDIT) + '?ses='+obj.w.escape(session),{'tab_name':'Non-Cataloged Type Editor'},{});
                                }
                        ],
-
+                       'cmd_copy_location_edit' : [
+                               ['oncommand'],
+                               function() {
+                                       obj.set_tab(obj.url_prefix(urls.XUL_COPY_LOCATION_EDIT) + '?ses='+obj.w.escape(session),{'tab_name':'Copy Location Editor'},{});
+                               }
+                       ],
                        'cmd_test' : [
                                ['oncommand'],
                                function() {
index afcb768..bb54270 100644 (file)
@@ -21,6 +21,7 @@
        <command id="cmd_survey_wizard" />
        <command id="cmd_stat_cat_edit" />
        <command id="cmd_non_cat_type_edit" />
+       <command id="cmd_copy_location_edit" />
        <command id="cmd_receipt_template_editor" />
        <command id="cmd_z39_50_import" />
        <command id="cmd_create_new_marc_book" />
                <menuitem label="Survey Wizard" accesskey="S" command="cmd_survey_wizard"/>
                <menuitem label="Statistical Category Editor" accesskey="C" command="cmd_stat_cat_edit"/>
                <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="Test Module" accesskey="T" command="cmd_test"/>
                <menuitem label="XUL Test" accesskey="X" command="cmd_xuleditor"/>