From a275b2c80ab7288ebbc4ef74a77fe49ec17b14d0 Mon Sep 17 00:00:00 2001 From: phasefx Date: Fri, 3 Feb 2006 20:48:19 +0000 Subject: [PATCH] plugging in Bill's copy location editor 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 | 1 + Open-ILS/xul/staff_client/chrome/content/main/menu.js | 7 ++++++- .../staff_client/chrome/content/main/menu_frame_menus.xul | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/chrome/content/main/constants.js b/Open-ILS/xul/staff_client/chrome/content/main/constants.js index f04aa9b7d2..e1be7c6774 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/constants.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/constants.js @@ -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', 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 982f0f4f65..6c114f2ffc 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu.js @@ -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() { diff --git a/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul b/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul index afcb76830a..bb5427074f 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul @@ -21,6 +21,7 @@ + @@ -199,6 +200,7 @@ + -- 2.43.2