Commit Graph

72 Commits

Author SHA1 Message Date
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
Scott González
5dad57e3c2 Buttonset: Added items option and removed visible filter for adding rounded corners. Fixes #6262 - buttonset not applying ui-corner to invisible elements. 2010-11-12 10:28:55 -05:00
=
03efae2887 Button: removed explicit call to _init() from _create(). Fixes #6165 - buttonset: refresh() fires twice on create 2010-10-09 02:24:56 +08:00
Scott González
2838c11ea8 Button: Read disabled attribute from original element if disabled option is null. Fixes #5252 -Button: read disabled option from input elements. 2010-08-18 14:51:30 -04:00
Scott González
9060bf3d09 Buttonset: Ignore hidden buttons. Fixes #5946 - buttonset should ignore buttons that are not :visible. 2010-08-18 10:13:57 -04:00
Scott González
58ae7ce2fd Revert "Use pushStack in widget method. Fixes #5732 - make the widget method maintain the stack"
This reverts commit ea58cd5ac0.
2010-07-30 12:38:18 -04:00
jzaefferer
ea58cd5ac0 Use pushStack in widget method. Fixes #5732 - make the widget method maintain the stack 2010-07-30 14:26:58 +02:00
Scott González
70481d9feb Button: Restrict DOM querying to labels. Fixes #5810 - Buttonset and applet error. 2010-07-16 11:48:40 -04:00
Scott González
8a5d4ca321 All: Added http://jqueryui.com/about to header comments. 2010-07-14 15:45:45 -04:00
Scott González
21aad10e6a All: Define a local undefined variable inside the main closure. 2010-07-13 09:57:58 -04:00
Scott González
536ae6189b Updated copyright headers to make it clear that you can choose between MIT and GPLv2. Also added a link to http://jquery.org/license. 2010-07-09 09:01:04 -04:00
Richard D. Worth
202ddd0c58 Button: Removed ui-button-text-icon class. Added ui-button-text-icon-primary and ui-button-text-icon-secondary classes. Fixed #5382 - Button: specifying only a secondary icon for the button widget locates the icon on the left 2010-05-26 15:08:37 -04:00
Scott González
01ad6ce83e Remove previous text/icon classes when updating buttons.
Fixes #5567 - button text, hide then show again.
2010-04-29 21:38:23 -04:00
Scott González
02c32959d9 Button: Added missing semicolon.
Fixes #5536 - Mission semicolon on line 5368.
2010-04-23 12:08:55 -04:00
Richard Worth
92fe5e9225 Fixed #5362 - Buttonset class should be ui-buttonset because buttonset is one word 2010-03-17 13:16:40 +00:00
Richard Worth
2a8271c701 Button: Added refresh method to buttonset, futher fixes #5278 - ui.buttons doesn't visually reset on form "reset" event or input "change" event 2010-03-17 13:07:46 +00:00
Richard Worth
124f84635f Buttonset - remove corner classes from button widgets instead of button elements on destroy. Fixes #5361 - buttonset method destroy doesn't remove corner classes from label elements 2010-03-17 13:03:23 +00:00
Richard Worth
08a750a58f button: whitespace and quotes. See http://docs.jquery.com/JQuery_Core_Style_Guidelines 2010-03-17 12:56:15 +00:00
Richard Worth
a202248780 Remove ui-helper-hidden-accessible from correct element. See r3880 and r3892 2010-03-17 12:49:27 +00:00
Scott González
e02b6a58d6 Button: spacing. 2010-03-16 04:07:23 +00:00
Richard Worth
1489d7380d Button: fixed #5324 - button disabled state doesn't get refreshed when disabled set on original element 2010-03-15 14:13:17 +00:00