make cancelling requests and clearing cache part of appPanel.reload

This commit is contained in:
rolux 2013-07-29 08:46:55 +00:00
commit b0ecc8b077
3 changed files with 2 additions and 3 deletions

View file

@ -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;