this.element.removeClass( "ui-accordion-icons" );
},
- destroy: function() {
+ _destroy: function() {
var options = this.options;
this.element
if ( options.heightStyle !== "content" ) {
contents.css( "height", "" );
}
-
- return $.Widget.prototype.destroy.call( this );
},
_setOption: function( key, value ) {
}
},
- destroy: function() {
+ _destroy: function() {
this.element
.removeClass( "ui-autocomplete-input" )
.removeAttr( "autocomplete" )
.removeAttr( "aria-autocomplete" )
.removeAttr( "aria-haspopup" );
this.menu.element.remove();
- $.Widget.prototype.destroy.call( this );
},
_setOption: function( key, value ) {
return this.buttonElement;
},
- destroy: function() {
+ _destroy: function() {
this.element
.removeClass( "ui-helper-hidden-accessible" );
this.buttonElement
if ( !this.hasTitle ) {
this.buttonElement.removeAttr( "title" );
}
-
- $.Widget.prototype.destroy.call( this );
},
_setOption: function( key, value ) {
}
},
- destroy: function() {
+ _destroy: function() {
var self = this;
if ( self.overlay ) {
if ( self.originalTitle ) {
self.element.attr( "title", self.originalTitle );
}
-
- $.Widget.prototype.destroy.call( this );
- return self;
},
widget: function() {
});
},
- destroy: function() {
- $.Widget.prototype.destroy.apply( this, arguments );
-
+ _destroy: function() {
this.element
.removeClass( "ui-menu ui-widget ui-widget-content ui-corner-all" )
.removeAttr( "tabIndex" )
this._refreshValue();
},
- destroy: function() {
+ _destroy: function() {
this.element
.removeClass( "ui-progressbar ui-widget ui-widget-content ui-corner-all" )
.removeAttr( "role" )
.removeAttr( "aria-valuenow" );
this.valueDiv.remove();
-
- $.Widget.prototype.destroy.apply( this, arguments );
},
value: function( newValue ) {
this.options.disabled = true;
},
- destroy: function() {
+ _destroy: function() {
this.tooltip.remove();
- $.Widget.prototype.destroy.apply(this, arguments);
},
widget: function() {