(js) Cleanup of "catch" for promises
This commit is contained in:
parent
aedb66f972
commit
9dd5dc4c47
|
@ -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
|
||||
});
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue