[open-ils-commits] r14056 - trunk/Open-ILS/xul/staff_client/server/circ (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Sep 18 14:40:12 EDT 2009
Author: phasefx
Date: 2009-09-18 14:40:08 -0400 (Fri, 18 Sep 2009)
New Revision: 14056
Modified:
trunk/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js
trunk/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul
Log:
marc record in Alternate Item Detail -> Cataloging Info tab
Modified: trunk/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js 2009-09-18 18:39:32 UTC (rev 14055)
+++ trunk/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js 2009-09-18 18:40:08 UTC (rev 14056)
@@ -29,6 +29,7 @@
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 @@
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);
}
Modified: trunk/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul 2009-09-18 18:39:32 UTC (rev 14055)
+++ trunk/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul 2009-09-18 18:40:08 UTC (rev 14056)
@@ -182,7 +182,9 @@
</tabpanel>
<tabpanel />
<tabpanel />
- <tabpanel />
+ <tabpanel>
+ <deck id="cat_deck" flex="1"/>
+ </tabpanel>
</tabpanels>
</tabbox>
</groupbox>
More information about the open-ils-commits
mailing list