From d4a5c45eb69f6889ec87878a2572e6d13316c9bf Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 22 Nov 2011 22:58:02 +0100 Subject: [PATCH] moving files also needs reload --- static/js/pandora/filesView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pandora/filesView.js b/static/js/pandora/filesView.js index b3770f62..cc02ba27 100644 --- a/static/js/pandora/filesView.js +++ b/static/js/pandora/filesView.js @@ -403,8 +403,8 @@ pandora.ui.filesView = function(options, self) { }); pandora.api.moveFiles(data, function(result) { if(pandora.user.ui.item == self.options.id && pandora.user.ui.itemView == 'files') { + Ox.Request.clearCache(); // fixme: remove if (self.$checkbox.value()) { - Ox.Request.clearCache(); // fixme: remove pandora.UI.set({item: result.data.itemId}); } else { Ox.Log('', 'moved', self.selected, result.data.itemId);