From f80cf59f5d8462e6e6bfe33a2bdeaced81bc7acd Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 26 Apr 2013 11:21:22 +0200 Subject: [PATCH] update delete file dialog --- static/js/pandora/deleteFileDialog.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/static/js/pandora/deleteFileDialog.js b/static/js/pandora/deleteFileDialog.js index 3c0f2e3a1..c7c0f7a8f 100644 --- a/static/js/pandora/deleteFileDialog.js +++ b/static/js/pandora/deleteFileDialog.js @@ -21,10 +21,7 @@ pandora.ui.deleteFileDialog = function(file, callback) { that.close(); pandora.api.removeFile({ id: file - }, function(result) { - Ox.Request.clearCache('findFiles'); - callback(); - }); + }, callback); } }) ],