From 9d1c1ae434e966b80b5b8056efafccbd9b53c0c4 Mon Sep 17 00:00:00 2001 From: phasefx Date: Fri, 18 Sep 2009 18:40:08 +0000 Subject: [PATCH] marc record in Alternate Item Detail -> Cataloging Info tab 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 | 9 +++++++++ Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul | 4 +++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js b/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js index e3cd28f479..bd2f498785 100644 --- a/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js +++ b/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js @@ -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); } diff --git a/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul b/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul index e7d05ed7ac..afeded8d1a 100644 --- a/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul +++ b/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul @@ -182,7 +182,9 @@ - + + + -- 2.11.0