mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-30 01:09:29 +00:00
(js) Cleanup of "catch" for promises
This commit is contained in:
@@ -265,8 +265,6 @@
|
||||
// Refresh list instance
|
||||
srcAddressBook.init(vm.addressbook.$omit());
|
||||
$mdDialog.hide();
|
||||
}, function() {
|
||||
// TODO handle error
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -461,8 +461,6 @@
|
||||
_this.editable.attachmentAttrs = _.filter(_this.editable.attachmentAttrs, function(attachment) {
|
||||
return attachment.filename != filename;
|
||||
});
|
||||
}, function() {
|
||||
// TODO: show toast
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user