From 2482f30a419085d41afee4ff7fcb046fedb946e2 Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 17 Aug 2011 15:35:30 +0000 Subject: [PATCH] cancel requests when updating URL --- static/js/pandora/URL.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/pandora/URL.js b/static/js/pandora/URL.js index e79a0174..9ac2a425 100644 --- a/static/js/pandora/URL.js +++ b/static/js/pandora/URL.js @@ -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());