Commit Graph

117 Commits

Author SHA1 Message Date
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