From e466905a4d911654397a81e15ef3aa284d3241d4 Mon Sep 17 00:00:00 2001 From: will Date: Tue, 14 Dec 2010 17:31:45 -0800 Subject: [PATCH] bug 7271: Fixed an issue where async query commands continue to execute even after leaving the current page context. This results in some weird UI behavior such as duplication or even items being added to the wrong pages. --- ui/scripts/cloud.core.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/scripts/cloud.core.js b/ui/scripts/cloud.core.js index c43d22205af..2ff362b6a08 100644 --- a/ui/scripts/cloud.core.js +++ b/ui/scripts/cloud.core.js @@ -637,6 +637,8 @@ function selectLeftSubMenu($menuToSelect) { $menuToSelect.addClass("selected"); $selectedSubMenu = $menuToSelect; } + // Every time you click on a different menu item, we should stop all previous async job queries + $("body").stopTime(); } var selected_midmenu_id = null;