From 99b49117b91e0fc23bfd2cad801e544048925153 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Tue, 21 Feb 2012 16:20:34 -0800 Subject: [PATCH] UI: Browser widget fix Fix elems.undefined error, which happens when destroyed panel continues to animate. -- This happened particularly in the domain section, when clicking to/from another section while the details panel was sliding in. --- ui/scripts/ui/widgets/cloudBrowser.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/scripts/ui/widgets/cloudBrowser.js b/ui/scripts/ui/widgets/cloudBrowser.js index 53e53ccfe78..31d900379c4 100644 --- a/ui/scripts/ui/widgets/cloudBrowser.js +++ b/ui/scripts/ui/widgets/cloudBrowser.js @@ -357,6 +357,7 @@ * Clear all panels */ removeAllPanels: function(args) { + $('div.panel').stop(); // Prevent destroyed panels from animating this.element.find('div.panel').remove(); $('#breadcrumbs').find('ul li').remove(); $('#breadcrumbs').find('ul div.end').remove();