Merge pull request #1739 from kinglozzer/leftandmain-uninitialized-tabs

FIX: Edge case attempting to destroy uninitialized tabs
This commit is contained in:
Sean Harvey 2013-04-09 14:08:12 -07:00
commit 97b1f8616f

View File

@ -1029,7 +1029,7 @@ jQuery.noConflict();
this._super(); this._super();
}, },
onremove: function() { onremove: function() {
this.tabs('destroy'); if (this.data('tabs')) this.tabs('destroy');
this._super(); this._super();
}, },
redrawTabs: function() { redrawTabs: function() {