LP#1618992 Webstaff checkin error handler repairs
authorBill Erickson <berickxx@gmail.com>
Fri, 16 Sep 2016 21:15:37 +0000 (17:15 -0400)
committerKathy Lussier <klussier@masslnc.org>
Fri, 30 Sep 2016 03:23:55 +0000 (23:23 -0400)
Fix typo in browser staff checkin error handler which resulted in null
errors any time a checkin failed instead of gracefully handling the
error.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jennifer Pringle <jennifer.pringle@bc.libraries.coop>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/web/js/ui/default/staff/circ/checkin/app.js

index d0407c6..5428f16 100644 (file)
@@ -219,7 +219,7 @@ function($scope , $q , $window , $location , egCore , checkinSvc , egGridDataPro
             angular.forEach(checkinSvc.checkins, function(ci, idx) {
                 if (ci.index == row_item.index) pos = idx;
             });
-            checkinSvc.checkin.splice(pos, 1);
+            checkinSvc.checkins.splice(pos, 1);
 
         })['finally'](function() {