Try making mark_damaged always refresh the list.
authorJason Stephenson <jason@sigio.com>
Sat, 27 Oct 2018 13:44:00 +0000 (09:44 -0400)
committerJason Stephenson <jason@sigio.com>
Sat, 27 Oct 2018 13:44:00 +0000 (09:44 -0400)
Open-ILS/web/js/ui/default/staff/circ/services/item.js

index 6382852..154dd7a 100644 (file)
@@ -639,7 +639,7 @@ function(egCore , egCirc , $uibModal , $q , $timeout , $window , egConfirmDialog
                     id: cp.id,
                     barcode: cp.barcode,
                     refresh: cp.refresh
-                });
+                }).then(function(resp) {service.add_barcode_to_list(cp.barcode)});
             }
         });
     }