]> source.dussan.org Git - jquery-ui.git/commitdiff
Changed widget factory to keep generic css framework class -state-disabled in ui...
authorRichard D. Worth <rdworth@gmail.com>
Mon, 29 Mar 2010 14:00:26 +0000 (10:00 -0400)
committerRichard D. Worth <rdworth@gmail.com>
Mon, 29 Mar 2010 14:00:26 +0000 (10:00 -0400)
ui/jquery.ui.widget.js

index 49067449dcdc083a52ef5dd015e32517a3a86881..a9829d2e520846605ec1c34b2509364fb05ab3d3 100644 (file)
@@ -155,7 +155,7 @@ $.Widget.prototype = {
                        .removeAttr( "aria-disabled" )
                        .removeClass(
                                this.widgetBaseClass + "-disabled " +
-                               this.namespace + "-state-disabled" );
+                               "ui-state-disabled" );
        },
 
        widget: function() {
@@ -192,7 +192,7 @@ $.Widget.prototype = {
                        this.widget()
                                [ value ? "addClass" : "removeClass"](
                                        this.widgetBaseClass + "-disabled" + " " +
-                                       this.namespace + "-state-disabled" )
+                                       "ui-state-disabled" )
                                .attr( "aria-disabled", value );
                }