Skip to content
Snippets Groups Projects
Commit 2a31b116 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

Task #9351 #9353 #9355: always show deleted message

parent a3ddbf97
No related branches found
No related tags found
No related merge requests found
......@@ -33,9 +33,7 @@ cleanupControllerMod.controller('CleanupController', ['$scope', '$uibModal', '$h
$http.delete('/rest/tasks/' + task.id + '/cleanup', {data: params}).error(function(result) {
console.log("Error. Could cleanup data for task " + task.id + ", " + result);
}).success(function(result) {
if(!result.deleted) {
alert(result.message);
}
});
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment