From 6740422a16a265423f7384ec2418d30f6739896e Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> 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 e79a017..9ac2a42 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());