Tabs: Removed deprecated deselctable option (use collapsible instead).

Fixes #4031 - Tabs: Remove deselectable option
This commit is contained in:
Scott González 2009-11-13 18:29:08 +00:00
parent bddf0fdb77
commit 73191c2bea

View File

@ -17,9 +17,6 @@ var tabId = 0;
$.widget("ui.tabs", {
_init: function() {
if (this.options.deselectable !== undefined) {
this.options.collapsible = this.options.deselectable;
}
this._tabify(true);
},
@ -32,9 +29,6 @@ $.widget("ui.tabs", {
}
else {
this.options[key] = value;
if (key == 'deselectable') {
this.options.collapsible = value;
}
this._tabify();
}
},