diff --git a/src/base/single/button/button.basic.js b/src/base/single/button/button.basic.js index 5a1b20dd8f..1b62145361 100644 --- a/src/base/single/button/button.basic.js +++ b/src/base/single/button/button.basic.js @@ -284,13 +284,8 @@ BI.BasicButton = BI.inherit(BI.Single, { } }, - empty: function () { + destroyed: function () { $(document).unbind("mouseup." + this.getName()); - BI.BasicButton.superclass.empty.apply(this, arguments); - }, - - destroy: function () { - BI.BasicButton.superclass.destroy.apply(this, arguments); } }); BI.BasicButton.EVENT_CHANGE = "BasicButton.EVENT_CHANGE"; \ No newline at end of file