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.
This commit is contained in:
Brian Federle 2012-02-21 16:20:34 -08:00 committed by Salvatore Orlando
parent 1fc72b3c56
commit 94dea8aadb
1 changed files with 1 additions and 0 deletions

View File

@ -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();