(js) Remove empty error callbacks for promises
parent
c4fdba678e
commit
0236d9ef46
|
@ -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
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue