We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d819cdd commit dcb1720Copy full SHA for dcb1720
ui/jquery.ui.tabs.js
@@ -130,13 +130,26 @@ $.widget( "ui.tabs", {
130
return;
131
}
132
133
+ if ( key === "disabled" ) {
134
+ // don't use the widget factory's disabled handling
135
+ this._setupDisabled( value );
136
+ return;
137
+ }
138
+
139
+ this._super( "_setOption", key, value);
140
141
// setting collapsible: false while collapsed; open first panel
142
if ( key === "collapsible" && !value && this.options.active === false ) {
143
this._activate( 0 );
144
145
- this.options[ key ] = value;
- this.refresh();
146
+ if ( key === "event" ) {
147
+ this._setupEvents( value );
148
149
150
+ if ( key === "fx" ) {
151
+ this._setupFx( value );
152
153
},
154
155
_tabId: function( a ) {
0 commit comments