Commit Graph

146 Commits

Author SHA1 Message Date
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
kborchers
00306d6bbd Menu: Bind to mouseenter instead of mouseover to avoid use of stopImmediatePropagation 2012-04-19 23:49:33 -05:00
Scott González
72a0f5c512 Menu: Lint. 2012-04-19 10:29:55 -04:00
kborchers
49f85509fe Menu: Whitespace 2012-04-18 21:30:07 -05:00
kborchers
1ce42f4328 Menu: Modified interactions to allow keyboard navigation to disabled items so that they are announced by screen readers but prevent selection of and navigation to sub-menus of disabled items 2012-04-16 23:30:33 -05:00
kborchers
fac809f9e5 Menu: Fixed typo in comment 2012-04-16 07:05:02 -05:00
kborchers
9a6392033a Menu: Add aria-disabled attribute to disabled items, namespace and cleanup the currentEventTarget click event 2012-04-16 07:02:38 -05:00
kborchers
e2a6cdd525 Menu: Check that the event object is defined before checking type 2012-04-14 16:00:19 -04:00
kborchers
26d6952bd2 Menu: Remove most event.stopImmediatePropagation() to allow proper event bubbling 2012-04-14 15:34:00 -04:00
Scott González
92c74818ff Menu: Cleanup. 2012-04-10 08:39:18 -04:00
kborchers
44ef35eb6f Menu: Add dividers using empty list items 2012-04-07 15:38:27 -05:00
Jörn Zaefferer
79f1eea6dc Build: Filter filters for linting to exclude some to-be-rewritten ones. Fix lint in those remaining 2012-04-04 11:02:08 +02:00
Scott González
639afa5954 Lint fixes. 2012-04-02 19:12:21 -04:00
Scott González
ccbfd45924 A few lint fixes. 2012-04-02 15:55:50 -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
kborchers
11b026d59b Menu: Better disabled item handling using preventDefault() for the click event on anchors inside of disabled menu items and change the pointer to default 2012-03-18 21:18:00 -05:00
Scott González
932fe888c0 Updated copyright year. 2012-03-08 10:53:08 -05:00
kborchers
4da7ec37ac Menu: Add default null callbacks and update unit tests 2012-02-26 22:52:38 -06:00
Scott González
609243b21d Use jQuery.css() instead of deprecated jQuery.curCSS(). 2012-02-12 09:01:06 -05:00
kborchers
1cd26fc759 Menu: Make sure the next element is defined in addition to checking length != 0 2012-02-06 15:16:08 -06:00
kborchers
b968ac32a1 Menu: Whitespace 2012-02-06 14:13:45 -06:00
kborchers
87dc9ce24a Menu: Prevent navigating to disabled menu items with the keyboard. 2012-02-06 14:12:56 -06:00