Revert "Trying something...."
authorJason Stephenson <jason@sigio.com>
Sun, 21 Oct 2018 12:11:03 +0000 (08:11 -0400)
committerJason Stephenson <jason@sigio.com>
Fri, 26 Oct 2018 23:04:56 +0000 (19:04 -0400)
This reverts commit 24f32f1fcc7a23ad74e4563d263864b9bdcb7cae.

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

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