From 94dea8aadb5e631c5e893d1e01aa73d20560ef4b 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 33489871832..1977a51c3a1 100644 --- a/ui/scripts/ui/widgets/cloudBrowser.js +++ b/ui/scripts/ui/widgets/cloudBrowser.js @@ -369,6 +369,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();