Mike Sherov
509259a66e
Button: add explanatory comment for when we bind to blur
2012-11-21 19:58:59 -05:00
TJ VanToll
93abe02b60
Button: Fixing handling of the disabled options on refresh method calls. Fixed #8828 - Button: Refresh does not re-enable disabled button.
2012-11-21 19:24:24 -05:00
Mike Sherov
f13b5dfa7f
Button: add blur event to buttons. Fixes #8559 - Button: Button doesn't remove active state when using keyboard.
2012-11-21 19:14:04 -05:00
Mike Sherov
cc7df712cc
Button: properly escape button names. Fixes #7505 - Button: Buttonset not applied to radio group with quotation/apostrophe in name.
2012-11-19 08:37:41 -05:00
Cory Gackenheimer
8e1ceba717
Button: use _hoverable for hover state management. Fixes #5295 - button doesn't remove hover state if they are disabled
2012-11-11 21:17:05 -05:00
Scott González
f5870712c1
Updated all widgets to use proper data keys when getting plugin instances.
2012-11-09 13:28:13 -05:00
TJ VanToll
5e24a1ce4b
Button: Check for ui-state-disabled during refresh. Fixes #8237 - Button: Anchor tags cannot be disabled within buttonset.
2012-10-16 23:09:26 -04:00
Scott González
149567e476
Updated docs URLS.
2012-09-26 18:06:20 -05:00
Scott González
485ca7192a
Simplify licensing.
2012-08-09 15:09:50 -04:00
Scott González
a4534bb993
Update copyright to jQuery Foundation.
2012-07-04 09:08:08 -04:00
Mike Hollis
535ef2a01c
Button: Trim button text before setting as title attribute.
2012-06-25 09:52:42 -04:00
Scott González
ff39bed57a
Widget: Added _off() for removing event handlers. Fixes #7795 - Widget: _on and _off.
2012-06-14 12:33:16 -04:00
TJ VanToll
1f1613852c
Button: Corrected default label applied to submit buttons. Fixed #8337 : Submit inputs don't automatically set label option.
2012-05-22 08:43:21 -04:00
Scott González
15ece1f51a
Buttonset: Use input[type=*] instead of just [type=*].
2012-05-21 14:56:18 -04:00
Scott González
e37f599a53
Don't use :submit selector.
2012-05-21 14:53:27 -04:00
Scott González
8b17f68b57
Don't use :reset selector.
2012-05-21 14:50:49 -04:00
Scott González
b4ca9289cf
Don't use :button selector.
2012-05-21 14:42:08 -04:00
Scott González
26b5492441
Button: Fixed version properties.
2012-05-21 13:51:49 -04:00
Scott González
e6f21410ff
Don't use :checkbox selector.
2012-05-21 12:47:15 -04:00
Scott González
9ac52deaa2
Don't use :radio selector.
2012-05-21 12:43:35 -04:00
Scott González
639afa5954
Lint fixes.
2012-04-02 19:12:21 -04:00
Jo Liss
37dcc3e21d
Protect all copyright notices against minification
...
For instance, this is useful for the jquery-ui-rails gem, which does not
use jQuery UI's own minification, but relies on Rails to minify the
files where necessary. Rails in turn uses UglifyJS for JS and YUI for
CSS, both of which respect the /*! ... */ convention.
2012-04-02 15:21:06 +02:00
Scott González
932fe888c0
Updated copyright year.
2012-03-08 10:53:08 -05:00
Scott González
41a1472469
Button: Use 'that' instead of 'self'. Partial fix for #5404 - remove uses of 'var self = this;'
2012-02-12 09:25:41 -05:00
Scott González
3a1031e58b
Button: Properly handle disabled option on init. Fixes #8028 - Getting unset disabled option on button widget returns jQuery object, not default value.
2012-01-18 16:37:04 -05:00
Jörn Zaefferer
66f9e12797
Widget: Remove method argument from _super and _superApply. Was a left-over from first implementation, not necessary anymore.
2011-11-18 17:08:40 +01:00
Scott González
a0856efef3
Widget: Added window and document properties. Fixes #7801 - Widget: Add document and window properties.
2011-10-20 16:57:47 -04:00
Scott González
c145f1698a
Button: Create text span in correct document.
2011-10-20 13:28:31 -04:00
Scott González
08450c3b2d
Button: Fixed RTL detection to default to LTR. Fixes #7697 - Buttonset: Incorrect corners for disconnected elements.
2011-09-06 11:00:42 -04:00
Corey Frang
065aef537b
Button: Adding quotes to the attribute selector for labels - Fixes #7534 - Button label selector omits quotes / fails for ids with ":"
2011-08-03 22:16:34 -05:00
Scott González
0080f2d581
Use .attr() for boolean ARIA attributes.
2011-07-12 11:36:34 -04:00
Scott González
da84672db8
.attr() -> .prop()
2011-06-08 17:02:57 -04:00
Scott González
6a5b21fda2
All: Moved version numbers into prototypes. Fixed #7436 - Widget: Store version numbers on instances.
2011-05-28 15:39:55 -04:00
Andrew Powell
597a313ab6
Button: adding event.preventDefault. Fixes #5945 - Disabled buttons still allow clicks
2011-05-26 12:28:25 -04:00
Glenn Goodrich
c49dbe0f01
Button: modified the event bindings for focus and blur. Fixed #6711 - checkbox/radio button do not show focused state when using Keyboard Navigation
2011-05-26 11:28:17 -04:00
Scott González
e0fafbb735
Button: Refactored formResetHandler and fixed scope. Foxes #7261 - Refresh scope in formResetHandler unintentionally wide.
2011-05-18 10:32:59 -04:00
Kris Borchers
a69a1788bc
Button: Don't fire click/change events if mouse was dragged during click of toggle (checkbox/radio) button. Fixed #6970 - Button state inconsistencies after (accidental) drag-clicking the button.
2011-05-13 15:28:10 -04:00
Scott González
dd00f7f3b4
Merge pull request #256 from dcneiner/button-blur
...
Fixed #6242
2011-05-12 17:48:25 -07:00
Doug Neiner
50a4186ef9
Button: Added rtl detection so corner classes would properly be applied to buttonsets. Fixed #6796 . jQueryui - buttonset on rtl
2011-05-12 01:51:05 -04:00
Doug Neiner
8df834f68c
Button: no longer calls _resetButton() after changing the disabled option. Fixed #6242 - Button .enable() strange behavior on Webkit (Google Chrome, Safari)
2011-05-12 01:16:06 -04:00
Eike Send
a7f1659cdc
Button: stop disabled button from firing click events. fixes #5945 . Behavior was inconsisten between BUTTON and A elements.
2011-05-05 14:45:06 +02:00
Giovanni Giacobbi
3ce8429f4f
Restructured if/else's for better readability
2011-03-20 03:19:36 +01:00
ddstreet
0b30a1d450
Button: find associated label even without common ancestor. Fixes #7092 - button creation that requires a matching label does not find label in all cases
2011-03-11 10:52:13 -05:00
Scott González
e72afe4afc
Button: Only add text classes if there is text. Fixes #7040 - button class change breaks icon only buttons.
2011-02-26 11:14:15 +01:00
Alex Dovenmuehle
5b104dbcef
Button: Batched class changes to improve performance. Fixes #6934 . Button: Batch class changes to improve performance.
2011-02-10 22:11:59 -05:00
Scott González
678ff6326a
Added version property to plugins that were missing them.
2011-02-03 12:01:26 -05:00
Scott González
29bfb86ce2
All: Define defaultElement for non-div widgets.
2011-01-23 17:55:53 -05:00
Scott González
6e0482a9cb
Updated copyright year.
2011-01-17 09:13:18 -05:00
Scott González
e0b52831fc
Updated widgets to use new methods from $.Widget.
2011-01-15 06:34:07 -05:00
Scott González
56c4c6aca9
Change destroy to _destroy and remove calls to $.Widget.prototype.destroy in widgets with simple destroy methods.
2011-01-14 17:11:22 -05:00