LP#1618992 Webstaff checkin error handler repairs
authorBill Erickson <berickxx@gmail.com>
Fri, 16 Sep 2016 21:15:37 +0000 (17:15 -0400)
committerBill Erickson <berickxx@gmail.com>
Fri, 16 Sep 2016 21:15:40 +0000 (17:15 -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>
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() {