diff --git a/static/js/appPanel.js b/static/js/appPanel.js index 560e9be1..a6a17182 100644 --- a/static/js/appPanel.js +++ b/static/js/appPanel.js @@ -26,6 +26,8 @@ pandora.ui.appPanel = function() { return that; }; that.reload = function() { + Ox.Request.cancel(); + Ox.Request.clearCache(); pandora.$ui.appPanel.remove(); pandora.$ui.appPanel = pandora.ui.appPanel().appendTo(pandora.$ui.body); return that; diff --git a/static/js/mainMenu.js b/static/js/mainMenu.js index a234a040..e03fd7c8 100644 --- a/static/js/mainMenu.js +++ b/static/js/mainMenu.js @@ -421,7 +421,6 @@ pandora.ui.mainMenu = function() { } else if (data.id == 'clearcache') { Ox.Request.clearCache(); } else if (data.id == 'reloadapplication') { - Ox.Request.clearCache(); pandora.$ui.appPanel.reload(); } else if (data.id == 'debugmode') { if (pandora.localStorage('enableDebugMode')) { diff --git a/static/js/utils.js b/static/js/utils.js index 77f43ec6..073f10d0 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -1540,7 +1540,6 @@ pandora.signin = function(data) { pandora.URL.init(); pandora.URL.update(); Ox.Theme(pandora.user.ui.theme); - Ox.Request.clearCache(); pandora.$ui.appPanel.reload(); }; @@ -1554,7 +1553,6 @@ pandora.signout = function(data) { pandora.URL.init(); pandora.URL.update(); Ox.Theme(pandora.user.ui.theme); - Ox.Request.clearCache(); pandora.$ui.appPanel.reload(); };