forked from 0x2620/pandora
make cancelling requests and clearing cache part of appPanel.reload
This commit is contained in:
parent
a8fca7f07a
commit
b0ecc8b077
3 changed files with 2 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue