cancel requests when updating URL
This commit is contained in:
parent
5f3a554183
commit
2482f30a41
1 changed files with 1 additions and 0 deletions
|
@ -108,6 +108,7 @@ pandora.URL = (function() {
|
|||
|
||||
update: function() {
|
||||
var oldUserUI = Ox.clone(pandora.user.ui);
|
||||
Ox.Request.cancel();
|
||||
this.parse();
|
||||
if (pandora.user.ui.section != oldUserUI.section) {
|
||||
pandora.$ui.appPanel.replaceElement(1, pandora.$ui.mainPanel = pandora.ui.mainPanel());
|
||||
|
|
Loading…
Reference in a new issue