From 56751c636e481218fa3f3d8dd525370fc9781db1 Mon Sep 17 00:00:00 2001 From: phasefx Date: Wed, 22 Feb 2006 04:09:53 +0000 Subject: [PATCH] wish I had known about this sooner git-svn-id: svn://svn.open-ils.org/ILS/trunk@3155 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../chrome/content/main/constants.js | 1 - .../staff_client/chrome/content/main/menu.js | 12 +-- .../xul/staff_client/server/cat/tcn_query.xul | 92 ------------------- 3 files changed, 1 insertion(+), 104 deletions(-) delete mode 100644 Open-ILS/xul/staff_client/server/cat/tcn_query.xul 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 128eafbdd8..0b6885d4e5 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/constants.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/constants.js @@ -109,7 +109,6 @@ var urls = { 'XUL_REMOTE_BROWSER' : '/xul/server/util/rbrowser.xul', 'XUL_STAT_CAT_EDIT' : '/xul/server/admin/stat_cat_editor.xml', 'XUL_SURVEY_WIZARD' : 'chrome://open_ils_staff_client/content/admin/survey_wizard.xul', - 'XUL_TCN_QUERY' : '/xul/server/cat/tcn_query.xul', 'XUL_VOLUME_COPY_CREATOR' : '/xul/server/cat/volume_copy_creator.xul', 'XUL_VOLUME_EDITOR' : '/xul/server/cat/volume_editor.xul', 'XUL_Z3950_IMPORT' : '/xul/server/cat/z3950.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 2588bc0724..028cc1467d 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu.js @@ -75,17 +75,7 @@ main.menu.prototype = { 'cmd_search_tcn' : [ ['oncommand'], function() { - JSAN.use('OpenILS.data'); obj.data = new OpenILS.data(); obj.data.init({'via':'stash'}); - obj.data.cmd_copy_status_value = ''; obj.data.stash('cmd_search_tcn_value'); - - obj.window.open( - obj.url_prefix(urls.XUL_TCN_QUERY), - 'cmd_search_tcn_win' + obj.window.window_name_increment(), - 'chrome,resizable,modal,center' - ); - - obj.data.stash_retrieve(); - var tcn = obj.data.cmd_search_tcn_value; + var tcn = prompt('What is the TCN or accession ID for the record?','','TCN Lookup'); if (tcn) { JSAN.use('util.network'); diff --git a/Open-ILS/xul/staff_client/server/cat/tcn_query.xul b/Open-ILS/xul/staff_client/server/cat/tcn_query.xul deleted file mode 100644 index bcd9943124..0000000000 --- a/Open-ILS/xul/staff_client/server/cat/tcn_query.xul +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -