From 35720dc3a5a47d18eb87cac3b0070bff0748f492 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Mon, 9 Dec 2013 11:31:29 +0100 Subject: [PATCH] Cleaned up error handling for entry removal. --- frontend/static/js/entries.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/frontend/static/js/entries.js b/frontend/static/js/entries.js index 11aaa6c..0a06781 100644 --- a/frontend/static/js/entries.js +++ b/frontend/static/js/entries.js @@ -333,14 +333,6 @@ var EntryController = function($scope, $http, $rootScope, $filter) { // Send the "entry removed" event. $scope.$emit("entryRemovedEvent", $scope.removingEntry); - $scope.hideRemoveEntryPopup(); - }).error(function (data) { - $.pnotify({ - type: "error", - title: "Delete", - text: data - }); - $scope.hideRemoveEntryPopup(); }); }