Trying something....
authorJason Stephenson <jason@sigio.com>
Sun, 21 Oct 2018 12:04:05 +0000 (08:04 -0400)
committerJason Stephenson <jason@sigio.com>
Fri, 26 Oct 2018 23:04:56 +0000 (19:04 -0400)
Open-ILS/web/js/ui/default/staff/circ/services/circ.js

index 6898145..a224f86 100644 (file)
@@ -1426,8 +1426,7 @@ function($uibModal , $q , egCore , egAlertDialog , egConfirmDialog,  egAddCopyAl
         }
 
         var newStatus, oldStatus;
-        var promise = get_status([markstatus,copy['status.id']]);
-        return promise.then(function(resp) {
+        get_status([markstatus,copy['status.id']]).then(function(resp) {
             return egConfirmDialog.open(
                 'Mark Item ' + newStatus.name(),
                 'From ' + oldStatus.name(),