(js) Remove empty error callbacks for promises

pull/195/merge
Francis Lachapelle 2016-02-03 14:31:29 -05:00
parent c4fdba678e
commit 0236d9ef46
2 changed files with 0 additions and 4 deletions

View File

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

View File

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