return;
}
- $.Widget.prototype._setOption.apply( this, arguments );
+ this._super( "_setOption", key, value );
if ( key == "icons" ) {
this._destroyIcons();
},
_setOption: function( key, value ) {
- $.Widget.prototype._setOption.apply( this, arguments );
+ this._super( "_setOption", key, value );
if ( key === "source" ) {
this._initSource();
}
},
_setOption: function( key, value ) {
- $.Widget.prototype._setOption.apply( this, arguments );
+ this._super( "_setOption", key, value );
if ( key === "disabled" ) {
if ( value ) {
this.element.attr( "disabled", true );
this.buttons.button( "option", key, value );
}
- $.Widget.prototype._setOption.apply( this, arguments );
+ this._super( "_setOption", key, value );
},
refresh: function() {
.end();
},
- destroy: function() {
+ _destroy: function() {
this.element.removeClass( "ui-buttonset" );
this.buttons
.map(function() {
.removeClass( "ui-corner-left ui-corner-right" )
.end()
.button( "destroy" );
-
- $.Widget.prototype.destroy.call( this );
}
});
break;
}
- $.Widget.prototype._setOption.apply( self, arguments );
+ this._super( "_setOption", key, value );
},
_size: function() {
}
}
- $.Widget.prototype._setOption.apply( this, arguments );
+ this._super( "_setOption", key, value );
},
_value: function() {
this.buttons.button("enable");
}
}
- $.Widget.prototype._setOption.call( this, key, value );
+ this._super( "_setOption", key, value );
},
_setOptions: function( options ) {
- $.Widget.prototype._setOptions.call( this, options );
+ this._super( "_setOptions", options );
if ( "value" in options ) {
this._format( this.options.value );
}
.removeClass('ui-spinner-input')
.removeAttr('disabled')
.removeAttr('autocomplete');
- $.Widget.prototype.destroy.call( this );
+ this._super( "destroy" );
this.uiSpinner.replaceWith(this.element);
},