[open-ils-commits] r15618 - trunk/Open-ILS/xul/staff_client/server/patron (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Feb 22 16:20:32 EST 2010
Author: phasefx
Date: 2010-02-22 16:20:27 -0500 (Mon, 22 Feb 2010)
New Revision: 15618
Modified:
trunk/Open-ILS/xul/staff_client/server/patron/items.js
Log:
stop nasty error when cancelling a Claim Return action
Modified: trunk/Open-ILS/xul/staff_client/server/patron/items.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/items.js 2010-02-22 20:35:47 UTC (rev 15617)
+++ trunk/Open-ILS/xul/staff_client/server/patron/items.js 2010-02-22 21:20:27 UTC (rev 15618)
@@ -560,10 +560,10 @@
}
}
}
+ 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);
}
More information about the open-ils-commits
mailing list