Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1053 from unclecheese/patch-11

Fix edge case in which uninitialized buttons are being destroyed.
  • Loading branch information...
commit c054ab49a22edd5f85a83ecb970d4c8ef77ef3a6 2 parents 6bcffd6 + 07fb756
@chillu chillu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  admin/javascript/LeftAndMain.js
View
2  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();
}
});
Please sign in to comment.
Something went wrong with that request. Please try again.