git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2778 a333f486-631f-4898-b8df-5754b55c2be0
@@ -78,7 +78,7 @@ $(function()
_destroy: function()
{
this.element.removeClass( "itop-icon-select" );
- this.oButton._destroy();
+ this.oButton.button( "destroy" );
},
// _setOptions is called with a hash of all options that are changing