]> source.dussan.org Git - jquery-ui.git/commitdiff
Tabs: Removed deprecated deselctable option (use collapsible instead).
authorScott González <scott.gonzalez@gmail.com>
Fri, 13 Nov 2009 18:29:08 +0000 (18:29 +0000)
committerScott González <scott.gonzalez@gmail.com>
Fri, 13 Nov 2009 18:29:08 +0000 (18:29 +0000)
Fixes #4031 - Tabs: Remove deselectable option

ui/jquery.ui.tabs.js

index 15bb282d72ba61804a3c3255036225db85418008..b13aebaa9e53a924b19526e3874bee2ee8f96a37 100644 (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();
                }
        },