(js) Remove empty error callbacks for promises

This commit is contained in:
Francis Lachapelle committed 2016-02-03 14:32:29 -05:00
1 parent c4fdba678e
commit 0236d9ef46
2 files changed
-4

No files matched your search

@@ -416,8 +416,6 @@
Message.$$resource.post([this.$absolutePath(), path].join('/'), action, data).then(function(data) {
Message.$timeout(function() {
_this.$reload();
}, function() {
// TODO: show toast
});
});
};
@@ -81,8 +81,6 @@
// User confirmed the deletion
var components = _.filter(Component['$' + vm.componentType], function(component) { return component.selected; });
Calendar.$deleteComponents(components);
}, function(data, status) {
// Delete failed
});
}