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>
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() {