marc record in Alternate Item Detail -> Cataloging Info tab
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 18 Sep 2009 18:40:08 +0000 (18:40 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 18 Sep 2009 18:40:08 +0000 (18:40 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14056 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js
Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul

index e3cd28f..bd2f498 100644 (file)
@@ -29,6 +29,7 @@ function set(name,value) {
 function load_item() {
     try {
         if (! xulG.barcode) return;
+
         var details = network.simple_request('FM_ACP_DETAILS_VIA_BARCODE.authoritative', [ ses(), xulG.barcode ]);
         // Should get back .mvr, .copy, .volume, .transit, .circ, .hold
 
@@ -345,6 +346,14 @@ function load_item() {
             set("cancel_note", details.hold.cancel_note()); 
             set("notes", details.hold.notes()); 
         } 
+
+        var x = document.getElementById('cat_deck');
+        if (x) {
+            JSAN.use('util.deck');
+            var d = new util.deck('cat_deck');
+            d.reset_iframe( urls.XUL_MARC_VIEW, {}, { 'docid' : details.mvr ? details.mvr.doc_id() : -1 } );
+        }
+
     } catch(E) {
         alert(E);
     }
index e7d05ed..afeded8 100644 (file)
                 </tabpanel>
                 <tabpanel />
                 <tabpanel />
-                <tabpanel />
+                <tabpanel>
+                    <deck id="cat_deck" flex="1"/>
+                </tabpanel>
             </tabpanels>
         </tabbox>
     </groupbox>