From: phasefx Date: Fri, 7 Mar 2008 21:07:15 +0000 (+0000) Subject: eliminate some redundancy before I try to i18n-ize this X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e0d6fd9f6619fb0f874170324ed51ce5df3c4aee;p=Evergreen.git eliminate some redundancy before I try to i18n-ize this git-svn-id: svn://svn.open-ils.org/ILS/trunk@8906 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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 52b21ecad1..44ace3fd64 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/constants.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/constants.js @@ -206,7 +206,6 @@ const urls = { 'AUDIO_CIRC_GOOD_SOUND' : '/xul/server/skin/media/audio/toggled.wav', 'AUDIO_CIRC_BAD_SOUND' : '/xul/server/skin/media/audio/question.wav', - 'XUL_ADV_USER_BARCODE_ENTRY' : '/xul/server/patron/adv_barcode_entry.xul', 'XUL_AUTH_SIMPLE' : '/xul/server/main/simple_auth.xul', 'XUL_BIB_BRIEF' : '/xul/server/cat/bib_brief.xul', 'XUL_BROWSER' : 'chrome://open_ils_staff_client/content/util/browser.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 3321f22016..f7931433f2 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu.js @@ -493,7 +493,7 @@ main.menu.prototype = { ['oncommand'], function() { obj.data.stash_retrieve(); - obj.set_tab(obj.url_prefix(urls.XUL_ADV_USER_BARCODE_ENTRY), {}, {}); + obj.set_tab(obj.url_prefix(urls.XUL_PATRON_BARCODE_ENTRY), {}, { 'perm_editor' : true }); } ], 'cmd_print_list_template_edit' : [ diff --git a/Open-ILS/xul/staff_client/server/patron/adv_barcode_entry.xul b/Open-ILS/xul/staff_client/server/patron/adv_barcode_entry.xul deleted file mode 100644 index 48e98f7de2..0000000000 --- a/Open-ILS/xul/staff_client/server/patron/adv_barcode_entry.xul +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - - - - - - - -]> - - - - - - - - - - - - - - - - - - -