wrong variable; could refresh the wrong rows
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 15 Jul 2010 21:34:09 +0000 (21:34 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 15 Jul 2010 21:34:09 +0000 (21:34 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16949 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/items.js

index c379bbb..aee4f64 100644 (file)
@@ -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) {