From dc32a0ee02ad3d4c1e0a6a49e16352bff0f31c93 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 21 Jun 2012 18:40:44 +0200 Subject: [PATCH] clear cache after upload so item shows up in context --- static/js/pandora/uploadDialog.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/pandora/uploadDialog.js b/static/js/pandora/uploadDialog.js index 9873c221..faa5a368 100644 --- a/static/js/pandora/uploadDialog.js +++ b/static/js/pandora/uploadDialog.js @@ -169,6 +169,7 @@ pandora.ui.uploadDialog = function(data) { $progress.options({progress: 0.5 + progress / 2}); }, done: function(data) { + Ox.Request.clearCache(); pandora.UI.set({ item: item, itemView: 'files'