diff --git a/admin/javascript/LeftAndMain.js b/admin/javascript/LeftAndMain.js index d5b9fe708..30db823ce 100644 --- a/admin/javascript/LeftAndMain.js +++ b/admin/javascript/LeftAndMain.js @@ -575,7 +575,7 @@ jQuery.noConflict(); this._super(); }, onremove: function() { - this.button('destroy'); + if(this.data('button')) this.button('destroy'); this._super(); } });