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

jquery / jquery-ui

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 235
    • 26
  • Source
  • Commits
  • Network (26)
  • Graphs
  • Tree: 92fe5e9

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

Fixed #5362 - Buttonset class should be ui-buttonset because buttonset is 
one word
rdworth (author)
Wed Mar 17 06:16:40 -0700 2010
commit  92fe5e922538942427045d055ddf2607e9122ea8
tree    36e874ef3248798c1162126e9fb6ef1013f59d3a
parent  2a8271c7016be902aed15cd2ccadc23164159a8d
M tests/static/button/default.html 2 ••
M tests/unit/button/button_core.js 2 ••
M themes/base/jquery.ui.button.css 4 ••••
M ui/jquery.ui.button.js 4 ••••
0
tests/static/button/default.html
...
110
111
112
113
 
114
115
116
...
110
111
112
 
113
114
115
116
0
@@ -110,7 +110,7 @@
0
   
0
   <h2>Button Sets</h2>
0
   
0
-  <div class="ui-button-set">
0
+  <div class="ui-buttonset">
0
     <button class="ui-button ui-button-text-only ui-widget ui-state-default ui-corner-left"><span class="ui-button-text">Simple button</span></button>
0
     <button class="ui-button ui-button-text-only ui-widget ui-state-default"><span class="ui-button-text">Simple button</span></button>
0
     <button class="ui-button ui-button-text-only ui-widget ui-state-default ui-corner-right"><span class="ui-button-text">Simple button</span></button>
0
tests/unit/button/button_core.js
...
59
60
61
62
 
63
64
65
...
59
60
61
 
62
63
64
65
0
@@ -59,7 +59,7 @@ test("input type submit, don't create child elements", function() {
0
 
0
 test("buttonset", function() {
0
   var set = $("#radio1").buttonset();
0
-  ok( set.is(".ui-button-set") );
0
+  ok( set.is(".ui-buttonset") );
0
   same( set.children(".ui-button").length, 3 );
0
   same( set.children("input:radio.ui-helper-hidden-accessible").length, 3 );
0
   ok( set.children("label:eq(0)").is(".ui-button.ui-corner-left:not(.ui-corner-all)") );
0
themes/base/jquery.ui.button.css
...
23
24
25
26
27
 
 
28
29
30
...
23
24
25
 
 
26
27
28
29
30
0
@@ -23,8 +23,8 @@ input.ui-button { padding: .4em 1em; }
0
 .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
0
 
0
 /*button sets*/
0
-.ui-button-set { margin-right: 7px; }
0
-.ui-button-set .ui-button { margin-left: 0; margin-right: -.3em; }
0
+.ui-buttonset { margin-right: 7px; }
0
+.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
0
 
0
 /* workarounds */
0
 button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
0
ui/jquery.ui.button.js
...
311
312
313
314
 
315
316
317
...
349
350
351
352
 
353
354
355
...
311
312
313
 
314
315
316
317
...
349
350
351
 
352
353
354
355
0
@@ -311,7 +311,7 @@ $.widget( "ui.button", {
0
 
0
 $.widget( "ui.buttonset", {
0
   _create: function() {
0
-    this.element.addClass( "ui-button-set" );
0
+    this.element.addClass( "ui-buttonset" );
0
     this._init();
0
   },
0
   
0
@@ -349,7 +349,7 @@ $.widget( "ui.buttonset", {
0
   },
0
 
0
   destroy: function() {
0
-    this.element.removeClass( "ui-button-set" );
0
+    this.element.removeClass( "ui-buttonset" );
0
     this.buttons
0
       .map(function() {
0
         return $( this ).button( "widget" )[ 0 ];

Comments

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