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
kborchers
30713ade36
Menu: Remove left over debugging statement.
2012-02-04 08:37:04 -06:00
kborchers
48ad0994a0
Menu: Prevent clicking on disabled menu items and remove unnecessary extra padding from disabled items.
2012-02-03 16:12:37 -06:00
kborchers
8c5c6e0a32
Menu: Added check for the disabled option on create.
2012-01-22 11:24:49 -06:00
Jörn Zaefferer
370bc00150
Menubar/Popup: Remove remaining artifact (trigger option) from menu. Missed that before
2012-01-11 19:58:46 +01:00
Jörn Zaefferer
85348eeebe
Menubar/Popup: Remove both to streamline the 1.9 release. Will revert this delete on the menubar branch, while development on master can continue without them.
2012-01-04 16:42:16 +01:00
kborchers
f0007ec745
Menu: Change first() and last() to isFirstItem() and isLastItem()
2011-12-23 09:48:14 -06:00
kborchers
c88add2269
Menu: Fix close delay and increase the default delay
2011-12-20 11:49:48 -06:00
kborchers
cf1470dcef
Menu: Replace accidentally removed scroll-handling code in focus
2011-12-15 13:28:33 -06:00
kborchers
a8d0e4c804
Menu: Fix focus handling to keep focus on the menu and prevent jumping around within the menu on mousedown
2011-12-15 12:43:28 -06:00
kborchers
ce7918fc73
Menu: Change items option to menus
2011-12-01 12:39:16 -06:00
kborchers
afdc577e9c
Menu: Remove the isScrolling check which nolonger seems necessary.
2011-11-30 08:39:10 -06:00
kborchers
74a3f2ce08
Menu: Move mousedown handler into _bind and fix focusing of the Menu after click. Fixes focus issues with Selectmenu and Autocomplete.
2011-11-23 22:37:55 -06: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
Hans Hillen
3c258bfa3c
Rewrite popup/menu interaction to make popup managed by menu (adds trigger option to menu). Makes popup agnostic of menu and allows datepicker to use popup (soon).
2011-10-19 12:05:37 +02:00
kborchers
9a274c0675
Menu: Check if menu is scrolling to prevent inadvertent mouseover events from being fired on scroll
2011-10-12 16:13:34 -05:00
Corey Frang
34a0479d1c
Menu: Refactoring the collapseAll to deal with some issues selecting - Updating unit tests. Thanks @kborchers
2011-09-22 15:30:46 -05:00
kborchers
9e617bbad1
Menu: Add support for structures other than UL/LI plus visual and unit tests
2011-09-14 10:29:36 -05:00
Jörn Zaefferer
e1ec6f8ebb
Menu: Refactor to get rid of var that. Cleanup some odd formattings and unneeded temp vars
2011-09-13 00:24:43 +02:00
Jörn Zaefferer
ae0c4e44ff
Merge remote branch 'kborchers/menu_autoCollapse'
2011-09-12 23:54:19 +02:00
Jörn Zaefferer
bf26bf1ac4
Menu: Get rid of var self
, replacing with that
or calls to _delay
2011-09-12 23:52:17 +02:00
Jörn Zaefferer
609e1f87f4
Menu: Replace regular bind call with _bind
2011-09-12 23:19:19 +02:00
kborchers
94317d7aa4
Menu: Added autoCollapse as the default and added a unit test
2011-09-12 08:43:49 -05:00
Jörn Zaefferer
a57c435257
Whitespace
2011-07-28 15:56:57 +02:00
Jörn Zaefferer
5e35a0c55b
Widget delegation: Put back the simple click event handler where it was.
2011-07-28 15:55:56 +02:00
Jörn Zaefferer
5b45d618dc
Widget delegation: Further simplify menu code, blur handler also doesn't do anything
2011-07-28 15:53:55 +02:00
Jörn Zaefferer
9e2efe95b2
Widget delegation: Further simplify menu code
2011-07-28 15:52:52 +02:00
Jörn Zaefferer
02aad7b0ae
Widget delegation: Update menu to use _bind with delegation. Clean up test.
2011-07-28 15:47:59 +02:00
kborchers
e16e99a154
Menu: Added focusing first menu item when menu receives focus and collapseAll when menu loses focus (blur).
2011-07-26 08:52:33 -05:00
Jörn Zaefferer
f89091105f
Merge remote branch 'kborchers/menu_home_end'
2011-07-25 23:57:51 +02:00
Scott González
19a9de7e66
Merge branch 'master' into core-1.6.1
...
Conflicts:
demos/menubar/default.html
tests/unit/autocomplete/autocomplete.html
tests/visual/effects/effects.all.html
ui/jquery.ui.menu.js
ui/jquery.ui.popup.js
2011-07-25 11:53:14 -04:00
kborchers
23340f1162
Menu: Added Home moves to first item and End moves to last item in currently active menu or submenu. Also fixed PageUp and PageDown so that they don't wrap back around to other end of menu. Also fixed scrolling to use activeMenu rather than element to all. Also added unit tests for keyboard nav
2011-07-25 09:13:13 -05:00
kborchers
8224c675e1
Menu: Passed the original event that causes a blur through collapseAll to blur, then trigger a blur on the menu. Fixes failing unit test provided by @rwaldron which has been included in this commit
2011-07-19 16:15:59 -05:00
kborchers
6d0859f716
Menu: Changed closeAll to collapseAll and updated in Menubar, also updated a reference to left in Menubar to collapse.
2011-07-14 11:38:03 -04:00
Jörn Zaefferer
11d24ee84c
Menu: Fix formatting and whitespace (was supposed to update previous commit)
2011-07-14 11:10:28 -04:00
kborchers
f41d2378f9
Menu: Check if submenu is already open and if so, don't call open again. Fixes Firefox bug where a mouseover of an icon adjusted the position of a submenu by a half pixel
2011-07-14 11:08:28 -04:00
kborchers
bc93b3ff08
Menu: Remove the ui-state-active class from the siblings of the newly activated menu item without a delay to fix a bug where mouseover of a menu item directly adjacent to the active item would cause a 1 pixel jump due to both items having a class with a border (ui-state-active and ui-state-focus)
2011-07-13 15:33:17 -05:00
Scott González
0080f2d581
Use .attr() for boolean ARIA attributes.
2011-07-12 11:36:34 -04:00
kborchers
9f5050ee06
Menu: Added close on click outside using technique from popup
2011-07-12 11:03:10 -04:00
kborchers
5d2b683761
Menu: Changed left and right methods to collapse and expand respectively.
2011-07-05 10:02:33 -05:00
gnarf
85eeaf0b05
menu: Second pass style guidance
2011-06-10 07:23:01 -05:00
gnarf
e993a9b210
menu: Partial Style Guidance - Fixing JSLint Warnings
2011-06-10 05:28:13 -05: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
Jörn Zaefferer
83424c6c33
Merge branch 'master' of github.com:jquery/jquery-ui
2011-05-11 19:49:16 +02:00
Scott González
b70256c368
Menu: Fixed variable name.
2011-05-11 08:43:37 -04:00
Scott González
24864de57d
Menu: Use appropriate methods for getting scroll values for .prop()/.attr() compat. Fixes #7354 - Autocomplete: Scrollable results don't visually update with jQuery 1.6.
2011-05-11 08:37:27 -04:00
Jörn Zaefferer
0352c2c71f
Menu: Remove default preventDefault. Add more meaningful href's on menu
...
and menubar demos. Change doesn't seem to affect autocomplete as that
doesn't use href-attributes anyway.
2011-05-11 13:39:58 +02:00
Jörn Zaefferer
c17f245d98
Autocomplete: Revert fix for #7024 , broke regular menu selection.
...
Disabled test for now (need to reopen ticket).
2011-05-11 13:19:46 +02:00
kborchers
73ed73890c
Autocomplete: Added check to determine if menu has just been created to override mouseover event and reset that variable from autocomplete on close. Fixed #7024 - Autocomplete menu options are activated even if mouse is not moved
2011-05-09 16:22:11 -05:00
Jörn Zaefferer
a444287642
Menu: Restore _destroy - remove tabIndex (gets added), don't remove ID
...
(can get generated, but removing only generated ideas hopefully isn't
necessary). May have to fix that later.
2011-05-03 21:58:26 +02:00
Jörn Zaefferer
cd61fb1b55
Merge branch 'master' into menubar
...
Conflicts:
ui/jquery.ui.menu.js
2011-04-26 22:05:44 +02:00
jzaefferer
6326da3fdb
Menu: Add ui-state-active to parent item when submenu item receives focus.
2011-04-23 17:36:52 +02:00
Hans Hillen
84f918ae44
Fix collapsing submenus issue
2011-04-22 23:14:04 +02:00
Hans Hillen
dc7410f55b
Prevent branch menuitems from firing select event
2011-04-22 20:22:56 +02:00
jzaefferer
34e3a2401a
Menu: Add icons support
2011-04-20 17:18:15 +02:00
jzaefferer
f0d5a0008f
Menu: Make keyboard focus matching take submenus into account
2011-04-20 15:35:40 +02:00
Hans Hillen
d77185a5a1
Fix "menubar does not collapse when clicking on other menubar" + minor changes
2011-04-18 23:05:50 +02:00
Hans Hillen
f89f0ca61f
ARIA & Focus changes to menu, specifically to how aria-activedescendant is handled
2011-04-15 19:18:38 +02:00
jzaefferer
5a112d4e03
Menu: Close submenu on ESCAPE keypress
2011-03-17 17:43:11 +01:00
jzaefferer
a077047fb3
Menu: Implement delaying of opening and closing submenus
2011-03-17 10:37:37 +01:00
Scott González
da67ece506
Menu: Handle clicking on a menu item without hovering it first. Fixes #7085 - Menu click when no mouseover causes error.
2011-03-15 14:02:18 -04:00
jzaefferer
2221dd6583
Menu: Cleanup
2011-02-28 22:38:06 +01:00
jzaefferer
a256e05df5
Menu: Move addClass(active) call to _open to make it work for both mouse
...
and keyboard interactions
2011-02-28 22:36:41 +01:00
maggiewachs
f73466a320
Removed active state when menu closes
2011-02-24 11:46:51 -05:00
maggiewachs
adf80bfb38
Added active state toggle to items with submenus to provide "breadcrumb" feedback
2011-02-24 11:44:47 -05:00
jzaefferer
0ddf677e40
Menu: Integrated flyoutmenu into menu, and moved flyoutmenu.html
...
testmenu into contextmenu.html
2011-02-24 15:51:51 +01:00