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