accesskey tweak, and bib summary for new-tab spawned multi-home interface
authorJason Etheridge <jason@esilibrary.com>
Sun, 10 Apr 2011 19:05:31 +0000 (15:05 -0400)
committerJason Etheridge <jason@esilibrary.com>
Sun, 10 Apr 2011 19:05:31 +0000 (15:05 -0400)
Open-ILS/web/opac/locale/en-US/lang.dtd
Open-ILS/xul/staff_client/server/cat/manage_multi_home_items.js
Open-ILS/xul/staff_client/server/cat/manage_multi_home_items.xul

index 402713a..ef4c6cc 100644 (file)
 <!ENTITY staff.cat.copy_browser.actions.cmd_transfer_items.label "Transfer Items to Previously Marked Volume">
 <!ENTITY staff.cat.copy_browser.actions.cmd_transfer_items.accesskey "T">
 <!ENTITY staff.cat.copy_browser.actions.cmd_link_as_multi_bib.label "Link as Foreign Items to Previously Marked Bib Record">
-<!ENTITY staff.cat.copy_browser.actions.cmd_link_as_multi_bib.accesskey "B">
+<!ENTITY staff.cat.copy_browser.actions.cmd_link_as_multi_bib.accesskey "F">
 <!ENTITY staff.cat.copy_browser.actions.cmd_add_volumes.label "Add Volumes">
 <!ENTITY staff.cat.copy_browser.actions.cmd_add_volumes.accesskey "V">
 <!ENTITY staff.cat.copy_browser.actions.cmd_mark_library.label "Mark Library as Volume Transfer Destination">
index 96112d1..7280d2f 100644 (file)
@@ -57,6 +57,13 @@ function my_init() {
             );
         }
 
+        if (! xul_param('no_bib_summary')) {
+            if (typeof bib_brief_overlay == 'function') {
+                $("bib_brief_groupbox").hidden = false;
+                bib_brief_overlay( { 'mvr_id' : xul_param('docid') } );
+            }
+        }
+
     } catch(E) {
         alert('Error in manage_multi_home_items.js, my_init(): ' + E);
     }
index 7283340..cb905a7 100644 (file)
@@ -16,6 +16,7 @@
 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
 <!-- OVERLAYS -->
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
+<?xul-overlay href="/xul/server/cat/bib_brief_overlay.xul"?>
 
 <window id="main_win" 
     onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
@@ -29,6 +30,7 @@
     <scripts id="openils_util_scripts"/>
 
     <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
+    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
 
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="manage_multi_home_items.js"/>
         </popup>
     </popupset>
 
+    <groupbox id="bib_brief_groupbox" hidden="true">
+        <caption label="&staff.cat.bib_brief.record_summary;"/>
+        <grid id="bib_brief_grid"/>
+    </groupbox>
     <groupbox flex="1" class="my_overflow">
         <caption label="&staff.cat.manage_multi_bib_items.caption;"/>
         <hbox>