From a47f5bf7a8f489d3f339d40feda50551e7647fa0 Mon Sep 17 00:00:00 2001 From: phasefx Date: Mon, 22 Feb 2010 21:20:27 +0000 Subject: [PATCH] stop nasty error when cancelling a Claim Return action git-svn-id: svn://svn.open-ils.org/ILS/trunk@15618 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/items.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/patron/items.js b/Open-ILS/xul/staff_client/server/patron/items.js index 3b07cd9f34..262a511e78 100644 --- a/Open-ILS/xul/staff_client/server/patron/items.js +++ b/Open-ILS/xul/staff_client/server/patron/items.js @@ -560,9 +560,9 @@ patron.items.prototype = { } } } - } - for (var i = 0; i < retrieve_ids.length; i++) { - obj.refresh(retrieve_ids[i].circ_id, !do_not_move_these[ retrieve_ids[i].barcode ]); + for (var i = 0; i < retrieve_ids.length; i++) { + obj.refresh(retrieve_ids[i].circ_id, !do_not_move_these[ retrieve_ids[i].barcode ]); + } } } catch(E) { obj.error.standard_unexpected_error_alert($("patronStrings").getString('staff.patron.items.items_claimed_returned.not_marked_claimed_returned'),E); -- 2.11.0