From: phasefx Date: Thu, 15 Jul 2010 21:34:09 +0000 (+0000) Subject: wrong variable; could refresh the wrong rows X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=44a6b6a65052b82c3ebd20f983fed4a518e32e46;p=evergreen%2Fbjwebb.git wrong variable; could refresh the wrong rows git-svn-id: svn://svn.open-ils.org/ILS/trunk@16949 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/patron/items.js b/Open-ILS/xul/staff_client/server/patron/items.js index c379bbb69..aee4f64d5 100644 --- a/Open-ILS/xul/staff_client/server/patron/items.js +++ b/Open-ILS/xul/staff_client/server/patron/items.js @@ -460,7 +460,7 @@ patron.items.prototype = { if (typeof robj.ilsevent != 'undefined') { if (robj.ilsevent != 0) throw(robj); } } } - for (var i = 0; i < obj.retrieve_ids.length; i++) { + for (var i = 0; i < retrieve_ids.length; i++) { obj.refresh(retrieve_ids[i].circ_id); } } catch(E) {