From: phasefx Date: Mon, 22 Oct 2007 05:39:11 +0000 (+0000) Subject: patron display refresh tweaks and offer to cancel transits on hold retargeting X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=cdb65278ef6dd488903b2368a3bbf5e4f392eca6;p=Evergreen.git patron display refresh tweaks and offer to cancel transits on hold retargeting git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@7903 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/patron/holds.js b/Open-ILS/xul/staff_client/server/patron/holds.js index 8a1294b990..463b393f20 100644 --- a/Open-ILS/xul/staff_client/server/patron/holds.js +++ b/Open-ILS/xul/staff_client/server/patron/holds.js @@ -76,6 +76,7 @@ patron.holds.prototype = { params.row_node.setAttribute('retrieve_id', js2JSON({ 'copy_id':copy_id, + 'barcode':row.my.acp ? row.my.acp.barcode() : null, 'id':row.my.ahr.id(), 'type':row.my.ahr.hold_type(), 'target':row.my.ahr.target(), @@ -431,7 +432,7 @@ patron.holds.prototype = { var robj = obj.network.simple_request('FM_AHR_UPDATE',[ ses(), hold ]); if (typeof robj.ilsevent != 'undefined') throw(robj); } - obj.retrieve(); + obj.retrieve(true); } } catch(E) { obj.error.standard_unexpected_error_alert('Holds not likely modified.',E); @@ -489,7 +490,7 @@ patron.holds.prototype = { var robj = obj.network.simple_request('FM_AHR_UPDATE',[ ses(), hold ]); if (typeof robj.ilsevent != 'undefined') throw(robj); } - obj.retrieve(); + obj.retrieve(true); } } catch(E) { obj.error.standard_unexpected_error_alert('Holds not likely modified.',E); @@ -531,7 +532,7 @@ patron.holds.prototype = { var robj = obj.network.simple_request('FM_AHR_UPDATE',[ ses(), hold ]); if (typeof robj.ilsevent != 'undefined') throw(robj); } - obj.retrieve(); + obj.retrieve(true); } } catch(E) { obj.error.standard_unexpected_error_alert('Holds not likely modified.',E); @@ -543,7 +544,7 @@ patron.holds.prototype = { function() { try { var xml = ''; - xml += 'Send email notifications (when appropriate)? The email address used is found in the hold recepient account.'; + xml += 'Send email notifications (when appropriate)? The email address used is found in the hold recipient account.'; xml += '