Commit Graph

167 Commits

Author SHA1 Message Date
Scott González
44d07173db Widget: Stop setting ui-state-disabled and aria by default on setting disabled option.
Fixes #5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes #5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes #6039 - Droppable: disabled should not have ui-state-disabled

This reverts commit 23771d38ba.
2013-03-14 19:08:21 -04:00
Scott González
23771d38ba Revert "Widget: Stop setting ui-state-disabled and aria by default on setting disabled option." This needs to wait for a major release.
This reverts commit 4d67f4f349.
2013-03-14 15:07:06 -04:00
Mike Sherov
4d67f4f349 Widget: Stop setting ui-state-disabled and aria by default on setting disabled option.
Fixes #5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes #5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes #6039 - Droppable : disabled should not have ui-state-disabled
2013-03-11 22:08:21 -04:00
Scott González
c193a0ce17 Menu: Escape em and en dashes in regex. Fixes #9016 - Menu: Non-ASCII characters. 2013-01-31 09:05:16 -05:00
Scott González
83cbf97978 Update copyright year to 2013. 2013-01-10 08:52:20 -05:00
Kris Borchers
5561f5db12 Add comment explaining the mouseHandled flag 2012-12-29 20:08:35 -06:00
Kris Borchers
5143b7f672 Create mouseHandled flag per instance instead of globally. Fixes #8866 - Menu: select event not firing due to mouseHandled flag reset bug 2012-12-27 21:06:54 -06:00
Jörn Zaefferer
2c3d311f90 Menu: Allow changing icons option after creation. Fixes #8927 - Menu: Can't change icons option after init 2012-12-27 17:23:25 +01:00
Scott González
8ec7a1b69f All: Use .addBack() instead of .andSelf(). 2012-12-14 11:13:50 -05:00
Scott González
b239298946 Allow higher cyclomatic complexity in functions that sanely use switch statements. 2012-12-06 14:31:21 -05:00
Scott González
8072099a3a Revert "Menu: Remove display property on hidden submenus instead of setting display:block. Surfaced by domEqual now checking for style property (see d687a1b)."
This reverts commit 53b940fa27.
2012-12-04 09:21:16 -05:00
Jörn Zaefferer
53b940fa27 Menu: Remove display property on hidden submenus instead of setting display:block. Surfaced by domEqual now checking for style property (see d687a1b). 2012-12-04 00:49:37 +01:00
Jörn Zaefferer
8b3e570241 Menu: Look into submenus for uninitialized menu items. Fixes #8773 - Menu: refresh() doesn't refresh existing submenus. 2012-11-05 18:42:41 +01:00
Scott González
149567e476 Updated docs URLS. 2012-09-26 18:06:20 -05:00
Scott González
e162fddd95 Menu: Don't move focus from the active item on click. Fixes #8552 - selected value overwritten/not correctly set. 2012-09-05 16:07:36 -04:00
Scott González
93556a8e18 Menu: If the active element no longer exists after a refresh, blur the menu. 2012-08-27 08:05:27 -04:00
Scott González
485ca7192a Simplify licensing. 2012-08-09 15:09:50 -04:00
kborchers
7e1cb95d37 Menu: Open submenu on click of parent item and only close menu when clicking item without submenu. 2012-07-31 00:00:07 -05:00
kborchers
5eb1aeec4e Menu: Remove unnecessary click delay and change focus delay for AT to the default delay 2012-07-13 13:36:00 -05:00
kborchers
be0be892d3 Menu: Fix issue with missing active item when clicking a menu item more than once 2012-07-12 23:01:13 -05:00
kborchers
b8ad711dee Menu: Add a flag and remove previous attempt to prevent select events from being fired by click events bubbling up through nested menus 2012-07-12 22:45:56 -05:00
Jörn Zaefferer
7759fb4dba Menu: Rename icon option to icons.submenu 2012-07-12 17:50:34 +02:00
Scott González
566c5f4058 Menu: Alphabetize options. 2012-07-10 12:07:00 -04:00
Scott González
dc689139ea Menu: Remove ability to pass a function as the position option. 2012-07-10 11:52:09 -04:00
Scott González
2ed34e4f1f Menu: Cleanup from 019dcc26e3. 2012-07-10 08:36:39 -04:00
kborchers
db3fabedb4 Menu: Expose the submenu indicator icon as an icon option 2012-07-10 00:14:54 -05:00
kborchers
1a22a675d8 Menu: Remove unnecessary returns from expand and collapse 2012-07-10 00:14:54 -05:00
kborchers
22d078aac6 Menu: Move regular expression creation outside of the loops 2012-07-10 00:14:54 -05:00
kborchers
019dcc26e3 Menu: Remove incorrect scroll check behavior from focus event handler 2012-07-10 00:14:53 -05:00
Scott González
1991a9073d Menu: Remove extraneous spaces from selector. 2012-07-09 12:57:01 -04:00
Scott González
be58dcf708 Menu: Added missing position dependency to header comment. 2012-07-05 14:17:56 -04:00
Scott González
a4534bb993 Update copyright to jQuery Foundation. 2012-07-04 09:08:08 -04:00
Scott González
378dacfda1 Menu: Cleanup. 2012-06-18 12:33:52 -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
Scott González
9608e98149 Widget: Rename _bind() to _on(). Partial fix for #7795 - Widget: _on and _off. 2012-06-13 08:00:45 -04:00
kborchers
2da2ae5070 Menu: Properly remove submenu carat icons and menu dividers during destroy and add a test for this functionality 2012-06-01 00:03:16 -05:00
kborchers
6e7ee98603 Menu: Add comment explaining extra filter from keypress 2012-05-31 23:03:51 -05:00
kborchers
ef9a0c005c Menu: Typo in comment 2012-05-31 19:55:18 -05:00
kborchers
94d87c8ad6 Menu: Don't remove the icon elements on destroy since they exist in the original markup 2012-05-31 19:54:12 -05:00
kborchers
d44f3d079e Menu: Use new uniqueId and removeUniqueId methods for generating id's on menus and menu items and for removing those id's during destroy. Also, properly remove the aria-disabled attribute during destroy. 2012-05-29 21:13:45 -05:00
Scott González
be784b2f79 Menu: Added a comment about which characters are checked for dividers. 2012-05-25 12:58:40 -04:00
kborchers
fe7ca1f1c3 Menu: Better handling of divider elements and menu items without anchors. 2012-05-24 23:45:12 -05:00
Scott González
f63bb4fbc4 Menu: Minor cleanup. 2012-05-24 21:15:55 -04:00
Jörn Zaefferer
9dcd0e0eb8 Menu: Handle SPACE same as ENTER, select items or opening submenus 2012-05-22 16:01:40 +02:00
Jörn Zaefferer
1e586dcd48 Menu: Refactor focus method, extract _scrollIntroView method 2012-05-21 16:42:14 +02:00
Jörn Zaefferer
f89971a2c3 Menu: Coding standards 2012-05-21 16:36:33 +02:00
Scott González
0adc6f5e17 Menu: Remove need to pass an event for next(), previous(), focus(). 2012-05-18 15:34:47 -04:00
Jörn Zaefferer
f4b2d7a411 Autocomplete: ARIA live region as extension, adding a messages option. Fixes #7840 - Autocomplete: popup results not read by screen-readers 2012-05-16 11:55:12 +02:00
kborchers
4e28500391 Menu: Whitespace 2012-05-08 23:57:56 -05:00
kborchers
97cb7decee Menu: Remove close delay for keyboard interaction to fix an issue with properly adding and removing ui-state-active class during quick navigation through submenus 2012-05-08 23:53:14 -05:00