]> source.dussan.org Git - jquery-ui.git/commitdiff
removed: option transferClasses, see #229
authorFelix Nagel <info@felixnagel.com>
Thu, 17 May 2012 14:55:01 +0000 (16:55 +0200)
committerFelix Nagel <info@felixnagel.com>
Thu, 17 May 2012 14:55:01 +0000 (16:55 +0200)
ui/jquery.ui.selectmenu.js

index 985f0802b94dd7fbf8d43f98ac1951f1445afc08..78452e7d957933a337e38dbf89f6147d6f3b5a94 100644 (file)
@@ -14,7 +14,6 @@
 
 $.widget("ui.selectmenu", {
        options: {
-               transferClasses: true,
                appendTo: "body",
                typeAhead: 1000,
                style: 'dropdown',
@@ -406,12 +405,6 @@ $.widget("ui.selectmenu", {
                        .toggleClass( 'ui-icon-triangle-1-s', isDropDown )
                        .toggleClass( 'ui-icon-triangle-2-n-s', !isDropDown );
 
-               // transfer classes to selectmenu and list
-               if ( o.transferClasses ) {
-                       var transferClasses = this.element.attr( 'class' ) || '';
-                       this.newelement.add( this.list ).addClass( transferClasses );
-               }
-
                // set menu width to either menuWidth option value, width option value, or select width
                if ( o.style == 'dropdown' ) {
                        this.list.width( o.menuWidth ? o.menuWidth : o.width );