mrpeters caught this; wrong variable fed to error dialog
authorJason Etheridge <jason@esilibrary.com>
Fri, 5 Aug 2011 02:27:45 +0000 (22:27 -0400)
committerJason Etheridge <jason@esilibrary.com>
Fri, 5 Aug 2011 02:27:45 +0000 (22:27 -0400)
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/xul/staff_client/server/patron/items.js

index 379b35d..2aa4cdd 100644 (file)
@@ -526,7 +526,7 @@ patron.items.prototype = {
                     if (typeof robj.ilsevent != 'undefined') { 
                         if (robj.ilsevent != 0 && robj.textcode != 'PATRON_EXCEEDS_CLAIMS_RETURN_COUNT' ) {
                             do_not_move_these[ barcodes[i] ] = true;
-                            obj.error.standard_unexpected_error_alert($("patronStrings").getString('staff.patron.items.items_claimed_returned.not_marked_claimed_returned'),E);
+                            obj.error.standard_unexpected_error_alert($("patronStrings").getString('staff.patron.items.items_claimed_returned.not_marked_claimed_returned'),robj);
                         }
                         if (robj.textcode == 'PATRON_EXCEEDS_CLAIMS_RETURN_COUNT') {
                             do_not_move_these[ barcodes[i] ] = true;