From 6a58a8c05c534cb67c3c6c816c03b76f1141b269 Mon Sep 17 00:00:00 2001 From: phasefx Date: Thu, 20 Aug 2009 08:08:04 +0000 Subject: [PATCH] backport changeset 13889 for fixing regression with renewing multiple items at once in staff client git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4@13892 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/items.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/patron/items.js b/Open-ILS/xul/staff_client/server/patron/items.js index ec4c2bbe1f..ce474f70c7 100644 --- a/Open-ILS/xul/staff_client/server/patron/items.js +++ b/Open-ILS/xul/staff_client/server/patron/items.js @@ -275,7 +275,7 @@ patron.items.prototype = { l.setAttribute('value', $("patronStrings").getFormattedString('staff.patron.items.items_renew.renewing',[bc])); x.appendChild(l); } - var renew = circ.util.renew_via_barcode( barcode, obj.patron_id, + var renew = circ.util.renew_via_barcode( bc, obj.patron_id, function(r) { try { if ( (typeof r[0].ilsevent != 'undefined' && r[0].ilsevent == 0) ) { @@ -297,7 +297,7 @@ patron.items.prototype = { } obj.refresh(circ_id); } catch(E) { - obj.error.standard_unexpected_error_alert($("patronStrings").getFormattedString('staff.patron.items.items_renew.err_in_renew_via_barcode',[barcode]), E); + obj.error.standard_unexpected_error_alert($("patronStrings").getFormattedString('staff.patron.items.items_renew.err_in_renew_via_barcode',[bc]), E); } } ); -- 2.11.0