(js) Ignore exception when closing mail editor

pull/240/head
Francis Lachapelle 2018-02-05 15:48:09 -05:00
parent c5a324ae86
commit 099f6b42dc
2 changed files with 2 additions and 1 deletions

View File

@ -172,7 +172,7 @@
stateMessage: message
}
})
.catch() // Cancel
.catch(_.noop) // Cancel
.finally(function() {
vm.messageDialog = null;
});

View File

@ -276,6 +276,7 @@
stateMessage: message
}
})
.catch(_.noop) // Cancel
.finally(function() {
_messageDialog(null);
vm.closePopup();