cancel requests when updating URL

This commit is contained in:
rolux 2011-08-17 15:35:30 +00:00
parent 5f3a554183
commit 2482f30a41

View file

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