mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #1739 from kinglozzer/leftandmain-uninitialized-tabs
FIX: Edge case attempting to destroy uninitialized tabs
This commit is contained in:
commit
97b1f8616f
@ -1029,7 +1029,7 @@ jQuery.noConflict();
|
||||
this._super();
|
||||
},
|
||||
onremove: function() {
|
||||
this.tabs('destroy');
|
||||
if (this.data('tabs')) this.tabs('destroy');
|
||||
this._super();
|
||||
},
|
||||
redrawTabs: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user