(js) Cleanup of "catch" for promises

pull/201/head
Francis Lachapelle 2016-03-04 11:00:44 -05:00
parent aedb66f972
commit 9dd5dc4c47
2 changed files with 0 additions and 4 deletions

View File

@ -265,8 +265,6 @@
// Refresh list instance
srcAddressBook.init(vm.addressbook.$omit());
$mdDialog.hide();
}, function() {
// TODO handle error
});
}

View File

@ -461,8 +461,6 @@
_this.editable.attachmentAttrs = _.filter(_this.editable.attachmentAttrs, function(attachment) {
return attachment.filename != filename;
});
}, function() {
// TODO: show toast
});
});
};