Commit Graph

67 Commits

Author SHA1 Message Date
Scott González
057e156e62 Button: Conform to coding standards. 2010-03-11 20:10:43 +00:00
Richard Worth
7799b4ecf9 Fixed #5278 - ui.buttons doesn't visually reset on form "reset" event or input "change" event 2010-03-11 06:31:16 +00:00
Scott González
fe6bef16e4 Button: Support elements that are disconnected from the DOM.
Fixes #5246 - _determineButtonType does not work if a label for checkbox/radiobutton is not yet attached to the document.
2010-03-11 03:50:20 +00:00
Richard Worth
8cd7129f0c button: remove ui-helper-hidden-accessible instead of .show() on destroy. Fixes #5261 - button change events don't fire in IE 7/8 2010-03-11 02:13:28 +00:00
Richard Worth
cef16fdf78 Checkbox must not be all the way hidden for change to fire in IE. Switched out .hide() for ui-helper-hidden-accessible class instead. Fixes #5261 - button change events don't fire in IE 7/8 2010-03-11 02:09:45 +00:00
Scott González
b636ad6997 Button: quote the value when searching for attributes.
Fixes #5262 - Buttonset not working on inputs with Arrays in name Attribute.

Thanks Zidane.
2010-03-04 02:00:32 +00:00
Scott González
64811c10ec Button: Add disabled class on init if the disabled option is set to true.
Fixes #5250 - Button: initializing with disabled = true isn't visually disabled.
2010-03-02 05:29:35 +00:00
Scott González
001a22a9d6 Buttonset: Use :data(button) instead of .ui-button to find buttons that have already been instantiated. This prevents us from finding elements that are proxying buttons, e.g., a radio's label.
Fixes #5242 - radio buttonset with icons does not maintain state.
2010-03-02 02:58:52 +00:00
Scott González
9cabe8403e Buttons: Removed the logic for triggering click events on checkboxes and radio buttons. This logic was actually causing the opposite functionality from what we wanted.
Fixes #5195 - .buttonset() prevents change event from being catchable.
2010-02-18 02:43:23 +00:00
Scott González
b848e37f28 Button: Added missing semicolons; 2010-02-18 01:45:23 +00:00
Jörn Zaefferer
aa63c4b959 button: handle space "click" 2010-01-22 22:52:31 +00:00
Jörn Zaefferer
967454c434 button: add ui-state-active on keydown, further improving keyboard navigation - doesn't yet work properly for anchors and radio/checkbox buttons 2010-01-22 22:46:32 +00:00
Jörn Zaefferer
dab6e943b3 button: add ui-state-focus on focus, making keyboard navigation possible, and button like 200% more accessible 2010-01-20 17:44:54 +00:00
Richard Worth
074153407d Happy New Year 2010-01-20 14:04:26 +00:00
Scott González
0ec857a5bd Button: conform to coding standards. 2010-01-18 01:58:15 +00:00
Scott González
7d96a0d096 Widget factory: Changed _create to _init.
Partial fix for #5064 - Widget: make multiple instantiation more useful.
2010-01-15 18:58:20 +00:00
Scott González
90fb45dffa Merged in /branches/dev r3251:3620 (excluding autocomplete, modal, tooltip, menu; including menu static tests). 2010-01-07 03:19:50 +00:00