From: miker Date: Sun, 1 May 2011 13:47:10 +0000 (+0000) Subject: Patch from Michael Peters, Jason Boyer and Jason Etheridge addressing LP#744244:... X-Git-Url: http://git.equinoxoli.org/?p=evergreen-equinox.git;a=commitdiff_plain;h=f466fd7c66570af8f80e8ee085ff9c945aee8ffd Patch from Michael Peters, Jason Boyer and Jason Etheridge addressing LP#744244: bill_details.xul "Checkout or Renew Library" column is blank git-svn-id: svn://svn.open-ils.org/ILS/trunk@20361 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/cat/copy_summary.xul b/Open-ILS/xul/staff_client/server/cat/copy_summary.xul index 4810959..3a459a2 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_summary.xul +++ b/Open-ILS/xul/staff_client/server/cat/copy_summary.xul @@ -122,7 +122,7 @@ } 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; diff --git a/Open-ILS/xul/staff_client/server/patron/bill_details.js b/Open-ILS/xul/staff_client/server/patron/bill_details.js index 8ad14be..56627e0 100644 --- a/Open-ILS/xul/staff_client/server/patron/bill_details.js +++ b/Open-ILS/xul/staff_client/server/patron/bill_details.js @@ -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',