(js) Cleanup of "catch" for promises

This commit is contained in:
Francis Lachapelle committed 2016-03-04 11:00:44 -05:00
1 parent aedb66f972
commit 9dd5dc4c47
2 files changed
-4

No files matched your search

@@ -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
});
});
};