Revert "Try making mark_damaged always refresh the list."
authorJason Stephenson <jason@sigio.com>
Sat, 27 Oct 2018 13:47:35 +0000 (09:47 -0400)
committerJason Stephenson <jason@sigio.com>
Sat, 27 Oct 2018 13:47:35 +0000 (09:47 -0400)
It makes things worse, in my opinion.  Refreshing damaged items is
bugged, and deserves its own fix.

This reverts commit 8c85a539069aa73c592be81c1924c6b718f81da1.

Open-ILS/web/js/ui/default/staff/circ/services/item.js

index 154dd7a..6382852 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)});
+                });
             }
         });
     }