Skip to content

Commit

Permalink
call the delete callback before the modal closes so that when the mod…
Browse files Browse the repository at this point in the history
…al has closed we have removed the isolate
  • Loading branch information
fredkingham committed Jun 6, 2019
1 parent 31159d8 commit bc1b74b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ angular.module('opal.controllers').controller('EditBloodCultureIsolateCtrl', fun
});

deleteModal.result.then(function(result){
deferred.resolve(result)
callBack().then(function(){
deferred.resolve(result);
});
});
};

Expand Down

0 comments on commit bc1b74b

Please sign in to comment.