From 6a5881e765867b03156ceabe4ebc4169c8e88632 Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Tue, 5 Apr 2011 12:57:08 -0400 Subject: [PATCH] toward a manage multi-home items interface --- Open-ILS/web/opac/locale/en-US/lang.dtd | 4 ++-- Open-ILS/xul/staff_client/chrome/content/cat/opac.js | 6 +++--- Open-ILS/xul/staff_client/chrome/content/cat/opac.xul | 2 +- Open-ILS/xul/staff_client/chrome/content/main/constants.js | 2 +- Open-ILS/xul/staff_client/server/cat/add_multi_home_items.js | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Open-ILS/web/opac/locale/en-US/lang.dtd b/Open-ILS/web/opac/locale/en-US/lang.dtd index 24a7f3e42c..23d7739cc0 100644 --- a/Open-ILS/web/opac/locale/en-US/lang.dtd +++ b/Open-ILS/web/opac/locale/en-US/lang.dtd @@ -286,8 +286,8 @@ - - + + diff --git a/Open-ILS/xul/staff_client/chrome/content/cat/opac.js b/Open-ILS/xul/staff_client/chrome/content/cat/opac.js index a4e0b4acb5..ec40e54ed7 100644 --- a/Open-ILS/xul/staff_client/chrome/content/cat/opac.js +++ b/Open-ILS/xul/staff_client/chrome/content/cat/opac.js @@ -881,15 +881,15 @@ function manage_parts() { } } -function add_multi_home_items() { +function manage_multi_home_items() { try { xulG.new_tab( - window.xulG.url_prefix(urls.ADD_MULTI_HOME_ITEMS), + window.xulG.url_prefix(urls.MANAGE_MULTI_HOME_ITEMS), {}, { 'docid' : docid } ); } catch(E) { - alert('Error in chrome/content/cat/opac.js, add_multi_home_items(): ' + E); + alert('Error in chrome/content/cat/opac.js, manage_multi_home_items(): ' + E); } } diff --git a/Open-ILS/xul/staff_client/chrome/content/cat/opac.xul b/Open-ILS/xul/staff_client/chrome/content/cat/opac.xul index 8d4fe7c8a7..c697398535 100644 --- a/Open-ILS/xul/staff_client/chrome/content/cat/opac.xul +++ b/Open-ILS/xul/staff_client/chrome/content/cat/opac.xul @@ -61,7 +61,7 @@ - + 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 f131b84c6a..56ed0591ef 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/constants.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/constants.js @@ -380,8 +380,8 @@ var urls = { 'AUDIO_circ_bad' : '/xul/server/skin/media/audio/question.wav', 'AUDIO_event_ASSET_COPY_NOT_FOUND' : '/xul/server/skin/media/audio/redalert.wav', - 'ADD_MULTI_HOME_ITEMS' : '/xul/server/cat/add_multi_home_items.xul', 'AUTHORITY_MANAGE' : '/eg/cat/authority/list', + 'MANAGE_MULTI_HOME_ITEMS' : '/xul/server/cat/manage_multi_home_items.xul', 'XUL_AUTH_SIMPLE' : '/xul/server/main/simple_auth.xul', 'XUL_BIB_BRIEF' : '/xul/server/cat/bib_brief.xul', 'XUL_BIB_BRIEF_VERTICAL' : '/xul/server/cat/bib_brief_vertical.xul', diff --git a/Open-ILS/xul/staff_client/server/cat/add_multi_home_items.js b/Open-ILS/xul/staff_client/server/cat/add_multi_home_items.js index 82b054d95a..b3ba0bcdd6 100644 --- a/Open-ILS/xul/staff_client/server/cat/add_multi_home_items.js +++ b/Open-ILS/xul/staff_client/server/cat/add_multi_home_items.js @@ -43,7 +43,7 @@ function my_init() { default_focus(); if (typeof window.xulG == 'object' && typeof window.xulG.set_tab_name == 'function') { - try { window.xulG.set_tab_name('Add Multi-Home Items: Bib ' + xul_param('docid')); } catch(E) { alert(E); } + try { window.xulG.set_tab_name('Manage Multi-Home Items for Bib ' + xul_param('docid')); } catch(E) { alert(E); } } } catch(E) { -- 2.11.0