github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

jquery / jquery-ui

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 261
    • 30
  • Source
  • Commits
  • Network (30)
  • Graphs
  • Tree: 4657bd8

click here to add a description

click here to add a homepage

  • Switch Branches (4)
    • bind
    • master
    • panel
    • tooltip
  • Switch Tags (15)
    • 1.8rc3
    • 1.8rc2
    • 1.8rc1
    • 1.8b1
    • 1.8a2
    • 1.8a1
    • 1.8
    • 1.7
    • 1.6rc6
    • 1.6rc5
    • 1.6rc3
    • 1.6rc2
    • 1.6
    • 1.5.2
    • 1.5.1
  • Comments
Sending Request…

The official jQuery user interface library. — Read more

  Cancel

http://jqueryui.com/

  Cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Changed widget factory to keep generic css framework class -state-disabled 
in ui namespace instead of custom widget namespace. Fixes #5443 - $.Widget 
uses [namespace]-state-disabled, must be ui-state-disabled to be useful
rdworth (author)
Mon Mar 29 07:00:26 -0700 2010
commit  4657bd85bc04e01d9f9b9637fe6aaf1bc66113fb
tree    dab35fd5ef353434765d569687a36f3173f3a2ca
parent  c49be0be1a57cac325f021ffddc2f0fbccde1553
M ui/jquery.ui.widget.js 4 ••••
Txt ui/jquery.ui.widget.js
  • View file @ 4657bd8
... ...
@@ -155,7 +155,7 @@ $.Widget.prototype = {
155 155
       .removeAttr( "aria-disabled" )
156 156
       .removeClass(
157 157
         this.widgetBaseClass + "-disabled " +
158  
-        this.namespace + "-state-disabled" );
  158
+        "ui-state-disabled" );
159 159
   },
160 160
 
161 161
   widget: function() {
... ...
@@ -192,7 +192,7 @@ $.Widget.prototype = {
192 192
       this.widget()
193 193
         [ value ? "addClass" : "removeClass"](
194 194
           this.widgetBaseClass + "-disabled" + " " +
195  
-          this.namespace + "-state-disabled" )
  195
+          "ui-state-disabled" )
196 196
         .attr( "aria-disabled", value );
197 197
     }
198 198
 

1 notes on commit 4657bd8

jzaefferer added a note to 4657bd8 repo collab

Mon Mar 29 07:07:55 -0700 2010

Cool, thanks. I'll update my Button Lite widget accordingly, putting it into a custom namespace instead of the ui-namespace.

Please log in to comment.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server