Jörn Zaefferer
c3d382e901
Menu: Remove preventDefault for disabled menu items, since there is no default on list items. Follow-up to fe7c300374
and the anchor removal in general
2013-12-03 21:57:58 +01:00
Jörn Zaefferer
fe7c300374
Menu: Remove click binding that was supposed to prevent default on anchor clicks on a disabled menu. Not relevant anymore since we removed the anchors. Partial fix for #8802 - Dev: Track down uses of .bind() inside widgets
2013-12-03 21:54:08 +01:00
Jörn Zaefferer
4992fc902e
Menu: Add ui-front on submenus to address opacity messing up stacking order. Fixes #9650 - Menu: Disabled item visible through submenu on top
2013-12-03 17:03:01 +01:00
Scott González
9910e938aa
Menu: Simplify styling. Remove rounded corners, reduce spacing.
2013-11-13 18:41:47 +01:00
Kris Borchers
52307ebadb
Menu: More precise removal of ui-state-active class for easier CSS overrides. Fixes #9532 - Need a way in Menu to keep ui-state-active class on selected item
2013-10-18 22:14:49 -05:00
Kris Borchers
31e705ab32
Menu: Add items option for better definition of menu items in non parent-child structures
2013-10-05 21:52:31 -05:00
Kris Borchers
3a61627a50
Menu: Remove the requirement to use anchors in menu items
2013-10-05 21:52:30 -05:00
Kris Borchers
485e0a0612
Menu: Only focus menu after click if focus is on an element within menu. Fixes #9044 - Menu: Autofocus issue with dialog opened from menu widget
2013-09-17 13:03:18 -05:00
Kris Borchers
cceb163548
Menu: Make check for click outside of menu a function which can be overridden. Fixes #8929 - Menu needs adjustement for use in Selectmenu
2013-08-11 19:11:23 -05:00
TJ VanToll
484e382259
Menu: Only set the mouseHandled flag if the event is going to bubble. Fixes #9469 : on( "menuselect" )
...
not firing every time.
2013-08-03 17:43:30 -04:00
TJ VanToll
670f650b99
Menu: Ensure an event was passed before checking its type. Fixes #9384 - Menu: _focus function forgets null check with doing a pattern match on event.type
2013-06-20 20:40:00 -04:00
TJ VanToll
91b7b9f9ab
Menu: Reset ui-menu-icons class in refresh. Fixes #9377 : Menu: Refreshing should recheck for menu icons
2013-06-16 22:37:36 -04:00
Scott González
fadf2b312a
All: Remove inline JSHint settings.
2013-04-22 12:35:21 -04:00
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