diff --git a/js/icon_select.js b/js/icon_select.js index a41a50688..f832fe6c4 100644 --- a/js/icon_select.js +++ b/js/icon_select.js @@ -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