Patch from Michael Peters, Jason Boyer and Jason Etheridge addressing LP#744244:...
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 1 May 2011 13:47:10 +0000 (13:47 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 1 May 2011 13:47:10 +0000 (13:47 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@20361 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/cat/copy_summary.xul
Open-ILS/xul/staff_client/server/patron/bill_details.js

index 4810959..3a459a2 100644 (file)
                                 } else {
                                     $w('copy_summary_callnumber',cn.label());    
                                 }
-                                g.list.append({'row':{'my':{'acp':copy,'acn':cn}}});
+                                g.list.append({'row':{'my':{'acp':copy,'acn':cn,'circ':xulG.circ}}});
                                 g.barcode = copy.barcode(); g.doc_id = cn.record();
                                 if (g.doc_id > -1) {
                                     $('show_in_opac').hidden = false;
index 8ad14be..56627e0 100644 (file)
@@ -91,7 +91,7 @@ function retrieve_circ() {
                 var copy_summary = document.createElement('iframe'); csb.appendChild(copy_summary);
                 copy_summary.setAttribute('src',urls.XUL_COPY_SUMMARY); // + '?copy_id=' + r_circ.target_copy());
                 copy_summary.setAttribute('flex','1');
-                get_contentWindow(copy_summary).xulG = { 'copy_id' : r_circ.target_copy(), 'new_tab' : xulG.new_tab, 'url_prefix' : xulG.url_prefix };
+                get_contentWindow(copy_summary).xulG = { 'circ' : r_circ, 'copy_id' : r_circ.target_copy(), 'new_tab' : xulG.new_tab, 'url_prefix' : xulG.url_prefix };
 
                 g.network.simple_request(
                     'MODS_SLIM_RECORD_RETRIEVE_VIA_COPY.authoritative',