toward a manage multi-home items interface
authorJason Etheridge <jason@esilibrary.com>
Tue, 5 Apr 2011 16:57:08 +0000 (12:57 -0400)
committerJason Etheridge <jason@esilibrary.com>
Tue, 5 Apr 2011 16:57:08 +0000 (12:57 -0400)
Open-ILS/web/opac/locale/en-US/lang.dtd
Open-ILS/xul/staff_client/chrome/content/cat/opac.js
Open-ILS/xul/staff_client/chrome/content/cat/opac.xul
Open-ILS/xul/staff_client/chrome/content/main/constants.js
Open-ILS/xul/staff_client/server/cat/add_multi_home_items.js

index 24a7f3e..23d7739 100644 (file)
 <!ENTITY staff.cat.opac.default.label "Set bottom interface as Default">
 <!ENTITY staff.cat.opac.manage_parts.accesskey "P">
 <!ENTITY staff.cat.opac.manage_parts.label "Manage Parts">
-<!ENTITY staff.cat.opac.add_multi_home_items.accesskey "B">
-<!ENTITY staff.cat.opac.add_multi_home_items.label "Add Multi-Bib Items">
+<!ENTITY staff.cat.opac.manage_multi_home_items.accesskey "B">
+<!ENTITY staff.cat.opac.manage_multi_home_items.label "Manage Multi-Bib Items">
 <!ENTITY staff.cat.opac.mark_for_multi_home.accesskey "B">
 <!ENTITY staff.cat.opac.mark_for_multi_home.label "Mark as Target for Multi-Bib Items">
 <!ENTITY staff.cat.opac.marc_edit.accesskey "E">
index a4e0b4a..ec40e54 100644 (file)
@@ -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);
     }
 }
 
index 8d4fe7c..c697398 100644 (file)
@@ -61,7 +61,7 @@
                 <menuitem label="&staff.cat.opac.transfer_title_holds.label;" accesskey="&staff.cat.opac.transfer_title_holds.accesskey;" id="transfer_title_holds" oncommand="transfer_title_holds();"/>
                 <menuitem label="&staff.cat.opac.manage_parts.label;" accesskey="&staff.cat.opac.manage_parts.accesskey;" id="manage_parts" oncommand="manage_parts();"/>
                 <menuitem label="&staff.cat.opac.mark_for_multi_home.label;" accesskey="&staff.cat.opac.mark_for_multi_home.accesskey;" id="mark_for_multi_home" oncommand="mark_for_multi_home();"/>
-                <menuitem label="&staff.cat.opac.add_multi_home_items.label;" accesskey="&staff.cat.opac.add_multi_home_items.accesskey;" id="add_multi_home_items" oncommand="add_multi_home_items();"/>
+                <menuitem label="&staff.cat.opac.manage_multi_home_items.label;" accesskey="&staff.cat.opac.manage_multi_home_items.accesskey;" id="manage_multi_home_items" oncommand="manage_multi_home_items();"/>
                 <menuseparator/>
                 <menuitem label="&staff.cat.opac.bib_in_new_tab.label;" id="bib_in_new_tab" oncommand="bib_in_new_tab();"/>
                 <menuitem label="&staff.cat.opac.remove_me.label;" id="remove_me" oncommand="remove_me();"/>
index f131b84..56ed059 100644 (file)
@@ -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',
index 82b054d..b3ba0bc 100644 (file)
@@ -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) {