Commit Graph

231 Commits

Author SHA1 Message Date
Felix Nagel
4e68c526ab Selectmenu: removed Position Plugin offset option to fix broken pop-up functionality 2012-11-23 15:38:33 +01:00
Felix Nagel
12fe28fefd Selectmenu: cleanup, CGL and lint fix 2012-11-12 23:06:05 +01:00
Felix Nagel
a9a6e3beaf Selectmenu: proposed fix for menu delay issue 2012-11-10 01:25:30 +01:00
Felix Nagel
7725e4adba Selectmenu: focus selected item when menu opens 2012-11-10 01:18:49 +01:00
Felix Nagel
684b55bcbc Selectmenu: Do not remove ui-state-focus class on first button focus (follow-up) 2012-10-27 20:49:35 +02:00
Felix Nagel
b6e1c86864 Selectmenu: Do not remove ui-state-focus class on first button focus 2012-10-26 19:29:30 +02:00
Felix Nagel
228a9b91fb Selectmenu: follow-up for menu, reset aria-activedescendant to selected item when menu is closed 2012-10-26 00:41:17 +02:00
Felix Nagel
a59b3c7585 Selectmenu: reset aria-activedescendant to selected item when menu is closed 2012-10-26 00:33:20 +02:00
Felix Nagel
7c1a9d9a36 Selectmenu: hopefully fixed multiple a11y bugs (value is recognized by screenreader: in collapsed state, when selecting a value, on tab focus; label points to button now) 2012-10-25 23:57:36 +02:00
Felix Nagel
b2d50f9ffc Selectmenu: fixed aria-activedescendant for button element 2012-10-25 22:24:37 +02:00
Felix Nagel
9cf0f21efd Selectmenu: add removeUniqueId to destroy method 2012-10-25 20:55:48 +02:00
Felix Nagel
b8cce0c3e1 Selectmenu: small improvement for label id setting 2012-10-25 20:54:27 +02:00
Jörn Zaefferer
99aa0ff8d1 Selectmenu: Fix data naming, should be [namespace]-[widgetname]-[value] 2012-10-19 18:22:12 -04:00
Robert Beuligmann
8e1e956248 Selectmenu: corrections based on code review. 2012-10-16 10:57:49 -05:00
Robert Beuligmann
20d19dbbf1 Selectmenu: ARIA tweaks for keyboard events and closed menu operation 2012-10-15 16:58:31 -05:00
Felix Nagel
c179902468 Simplify licensing. 2012-08-11 19:57:17 +02:00
Felix Nagel
b6e246784d Selectmenu: remove unbind Menu document event to reset mouseHandled flag, related to revision b8ad711dee 2012-08-11 19:55:06 +02:00
Scott González
549b97ed6c Selectmenu: Fixed event unbinding. 2012-07-17 15:27:26 -04:00
Felix Nagel
44f9b8fb09 Selectmenu: updated copyright notice 2012-07-16 20:36:01 +02:00
Felix Nagel
001bd3d502 Selectmenu: trim trailing spaces 2012-07-13 00:23:00 +02:00
Felix Nagel
b19986a851 Selectmenu: changed _unbind to _off 2012-07-13 00:18:05 +02:00
Felix Nagel
8f5f4b38cd Selectmenu: changed _bind to _on 2012-07-13 00:10:49 +02:00
Felix Nagel
39532f0a8e Selectmenu: Use new uniqueId method for generating id's 2012-05-31 18:54:57 +02:00
Felix Nagel
d4ec5cbb3f Selectmenu: make use of Menu option 'role' (follow-up), no need to adjust li role 2012-05-24 18:56:41 +02:00
Felix Nagel
7345e43048 Selectmenu: make use of Menu option 'role' 2012-05-24 18:41:32 +02:00
Felix Nagel
ec6d88fae4 Selectmenu: small fixes for lint tests 2012-05-24 18:30:39 +02:00
Felix Nagel
c5a449d611 Selectmenu: small fixes for lint tests 2012-05-16 20:41:24 +02:00
Felix Nagel
360e885d98 Selectmenu: updated copyright year 2012-05-16 19:27:11 +02:00
Felix Nagel
ddf7c27c75 Selectmenu: prevent copyright notice from being removed by minification 2012-05-16 19:26:31 +02:00
Felix Nagel
b348d32caa Selectmenu: trim trailing spaces 2012-05-16 19:25:21 +02:00
Felix Nagel
1092551e21 Selectmenu: fixed small regression which added unwanted, empty optgroup to every menu 2012-04-01 22:38:16 +02:00
kborchers
4a9e26c68e Selectmenu: Add links to all menu items to be in line with what menu expects and remove the extra space added to disabled items 2012-03-18 21:47:40 -05:00
Felix Nagel
b1a72e6e04 Selectmenu: small improvements, code clean-up, lint, coding guidelines 2012-02-26 03:46:27 +01:00
Felix Nagel
cea684492d Selectmenu: removed working but illogical closest context 2012-02-26 03:13:44 +01:00
Felix Nagel
f2228b0553 Selectmenu: remove unwanted Menu mouseover event, fixes problem with selected item highlighting on menu open 2012-02-26 01:50:55 +01:00
Felix Nagel
c5efddab2d Selectmenu: small fix for _toggleAttr to make sure isOpen is not undefined 2012-02-26 01:15:49 +01:00
Felix Nagel
85d6acb899 Selectmenu: merged _toggleButtonStyle with _toggleAttr method, removed incomplete dropdown _setOptions functionality 2012-02-25 03:17:20 +01:00
Felix Nagel
a4eeddd330 Selectmenu: improve optgroup header event handling, fixed disabled item event handling, improve attribute handling on menu toggle, small improvements, clean-up 2012-02-25 01:43:53 +01:00
Felix Nagel
c0f9dd31e9 Selectmenu: unbind Menu document click event (fires unwanted focus event) 2012-02-25 00:15:28 +01:00
Felix Nagel
b356e1e4e1 Selectmenu: selected callback event fired twice when using mouse 2012-02-24 22:50:27 +01:00
Felix Nagel
058cba236f Selectmenu: backfall for initial refresh when menu is opened 2012-02-24 22:39:11 +01:00
Felix Nagel
96102f7692 Selectmenu: use _hoverable and _focusable for button events 2012-02-23 23:32:17 +01:00
Felix Nagel
29effb38eb Selectmenu: removed Button widget dependency 2012-02-23 23:25:03 +01:00
Felix Nagel
43851b65f5 Selectmenu: removed unneeded SPACE keypress event 2012-02-23 21:05:11 +01:00
Felix Nagel
c424ae40f0 Selectmenu: close open menu on escape keydown 2012-02-22 00:29:05 +01:00
Felix Nagel
45263578dd Selectmenu: removed aria-activedescendant attr from button 2012-02-21 23:44:32 +01:00
Felix Nagel
52e43c076f Selectmenu: re-enabled lazy loading of the menu items (menu refresh) 2012-02-21 23:41:00 +01:00
Felix Nagel
d0c31c188e Selectmenu: fix _setSelected method, fixes aria-selected and unit tests 2012-02-21 22:35:37 +01:00
Jörn Zaefferer
59d15809a3 Selectmenu: Introduce menuWidget method, to get access to the menu element. Fix various tests and simplify demos accordingly. Add comment about optgroup-click-handling. 2012-02-21 20:22:13 +01:00
Jörn Zaefferer
b15dc8e3c5 Selectmenu: Simplify _getCreateOptions implementation 2012-02-21 18:31:27 +01:00
Felix Nagel
98d72c7f6d Selectmenu: fixed _getCreateOptions usage 2012-02-15 22:16:18 +01:00
Felix Nagel
505d16a3e9 Selectmenu: trim trailing spaces 2012-01-27 23:11:31 +01:00
Felix Nagel
4bbfc2fd96 Selectmenu: cleanup and small improvements 2012-01-27 23:06:53 +01:00
Felix Nagel
62ba812af9 Selectmenu: improved empty select and empty option handling 2012-01-27 22:44:43 +01:00
Felix Nagel
b7df9e45cd Selectmenu: This reverts commit 36e6c445d3. 2012-01-27 00:39:42 +01:00
Felix Nagel
36e6c445d3 Selectmenu: small follow up 2012-01-27 00:18:36 +01:00
Felix Nagel
bef7f1b15b Selectmenu: click an optgroup header should not close the menu 2012-01-27 00:06:02 +01:00
Felix Nagel
827a8cb35c Selectmenu: improved handling of keypress events 2012-01-26 23:10:35 +01:00
Felix Nagel
8f9632ad7d Selectmenu: minor improvements 2012-01-22 20:25:27 +01:00
Felix Nagel
4dbbd0598a Selectmenu: implement new ARIA spec 2012-01-22 19:22:57 +01:00
Felix Nagel
759e47a657 Selectmenu: fixed positioning with overflow in IE 2012-01-22 15:20:35 +01:00
Felix Nagel
725023e30d Selectmenu: revert initial refresh method changes (with unit tests)
This reverts commit 27049fc5dc and d83e169424
2012-01-22 14:12:52 +01:00
Felix Nagel
c5d9dbca5c Selectmenu: make use of _getCreateOptions 2012-01-22 13:38:34 +01:00
Felix Nagel
04d9900c5e Selectmenu: minor improvements and cleanup 2012-01-20 01:30:16 +01:00
Felix Nagel
27049fc5dc Selectmenu: improve initial refresh method call 2012-01-20 00:48:42 +01:00
Felix Nagel
33bd0cd9fb Selectmenu: change dropdown style on the fly 2012-01-13 20:13:58 +01:00
Felix Nagel
3369ec340d Selectmenu: removed option value 2012-01-12 22:01:49 +01:00
Felix Nagel
38eaad39cf Selectmenu: removed forgotten console statement 2012-01-12 19:32:10 +01:00
Felix Nagel
d753f41a1f Selectmenu: fixed keyboard control (follow-up) 2012-01-12 01:05:08 +01:00
Felix Nagel
762131396e Selectmenu: improved disabled state handling 2012-01-11 21:20:24 +01:00
Felix Nagel
8c17f74a1e Selectmenu: create menu items with first opening to increase performance 2012-01-11 20:53:02 +01:00
Felix Nagel
3025c51821 Selectmenu: fixed button keyboard event handling (follow-up) 2011-12-23 01:34:12 +01:00
Felix Nagel
6d0c7d8e88 Selectmenu: improved ARIA handling (follow-up) 2011-12-22 03:05:49 +01:00
Felix Nagel
1538f6337b Selectmenu: removed unneeded position workaround 2011-12-22 02:23:30 +01:00
Felix Nagel
8e4dc4017b Selectmenu: improved handing of (ARIA) attributes 2011-12-22 02:22:10 +01:00
Felix Nagel
a5560f3037 Selectmenu: improved button event handling, Home/End and Page Up/Page Down keys work now, THX to John 2011-12-22 01:54:05 +01:00
Felix Nagel
e79700eb28 Selectmenu: fixed aria-hidden attribute 2011-11-22 00:11:23 +01:00
Jörn Zaefferer
95ea303418 Remove method argument from _super and _superApply. 2011-11-18 17:15:01 +01:00
Jörn Zaefferer
dbb274702a Whitespace cleanup 2011-11-18 17:14:38 +01:00
Felix Nagel
6edc790e8c Selectmenu: renaming of internal variable opened to isOpen 2011-11-02 19:44:45 +01:00
Felix Nagel
2ed360c380 Selectmenu: code cleanup 2011-10-17 22:13:36 +02:00
Felix Nagel
c31e6e8ffe Selectmenu: fixed disabled option 2011-10-17 22:04:54 +02:00
Felix Nagel
31ccf10698 Selectmenu: fixed IE width calc 2011-10-17 22:04:14 +02:00
Felix Nagel
df68860a61 Selectmenu: removed unneeded data binding, improved event handling, 2011-10-17 22:03:22 +02:00
Felix Nagel
cc232430fe Selectmenu: added braces to if clauses, coding guidelines 2011-10-12 22:14:28 +02:00
Felix Nagel
0c954cb243 Selectmenu: changed this.ids to associative array 2011-10-12 22:06:18 +02:00
Felix Nagel
7b9813c40e Selectmenu: improved event handling, fixed tabindex when disabled 2011-10-12 02:10:31 +02:00
Felix Nagel
c0864df4d7 Selectmenu: changed to _delay 2011-10-12 02:02:19 +02:00
Felix Nagel
2e229e8ddc Selectmenu: renamed vars and methods 2011-10-12 01:38:30 +02:00
Felix Nagel
9b2e0c97f0 Selectmenu: fixed disabled state tabindex 2011-10-12 01:26:31 +02:00
Felix Nagel
469426160e Selectmenu: removed unneeded that, use this instead 2011-10-12 01:24:04 +02:00
Felix Nagel
ee26baa997 Selectmenu: improved event handling, fixed anchor problem when clicking menu item 2011-10-10 20:27:29 +02:00
Felix Nagel
8944abce67 Selectmenu: fixed destroy method, show original select again, thx to @jzaefferer 2011-10-10 20:08:47 +02:00
Felix Nagel
ba748232c1 Selectmenu: added custom_render.html demo, removed widgetBaseClass 2011-10-09 01:54:36 +02:00
Felix Nagel
f4454ce30e Selectmenu: fixed click scrollbar issue (follow up), improved document event handling 2011-10-09 00:47:09 +02:00
Felix Nagel
d7e23ce225 Selectmenu: fixed event for hovering, click scrollbar issue 2011-10-09 00:09:16 +02:00
Felix Nagel
37d22ee017 Selectmenu: fixed unwanted focus events 2011-10-06 01:09:12 +02:00
Felix Nagel
3ba99cbd6b Selectmenu: code cleanup 2011-10-06 00:38:22 +02:00
Felix Nagel
0dc020f79b Selectmenu: fixed positioning (change to inline element follow-up) 2011-10-06 00:35:42 +02:00
Felix Nagel
6351880e09 Selectmenu: removed outdated comment 2011-10-06 00:24:58 +02:00
Felix Nagel
d1208900f8 Selectmenu: fixed CSS class for button wrapper 2011-10-05 00:50:59 +02:00
Felix Nagel
d83f0b2de9 Selectmenu: changed button to inline element 2011-10-05 00:47:38 +02:00
Felix Nagel
30ac35afb1 Selectmenu: fixed ENTER event on closed button, fixed demo events.html 2011-10-05 00:45:53 +02:00
Felix Nagel
a9aef0974b Selectmenu: removed option wrapperElement 2011-09-30 21:51:37 +02:00
Felix Nagel
bf7394e50e Selectmenu: removed old click event (follow up) 2011-09-30 21:37:35 +02:00
Felix Nagel
4eff2a9cfa Selectmenu: change to _bind (follow up), improved anchor handling 2011-09-30 21:36:16 +02:00
Felix Nagel
eaece574bd Selectmenu: changed to _bind, _create refactoring, removed source option, replaced 'return false' with 'event.preventDefault' 2011-09-30 21:16:55 +02:00
Felix Nagel
a438ec3b7d Selectmenu: fixed disabled status of the widget (keyboard control) 2011-09-29 00:11:18 +02:00
Felix Nagel
c0ea81a2a8 Selectmenu: replaced self with that 2011-09-28 23:59:23 +02:00
Felix Nagel
7f8f321298 Selectmenu: removed iconWidth 2011-09-28 22:22:36 +02:00
Felix Nagel
3e1557b654 Selectmenu: changed from return false to event.preventDefault() 2011-09-28 21:13:14 +02:00
Felix Nagel
fd69abb8d0 Selectmenu: improved width handling and visual style 2011-09-28 00:18:36 +02:00
Felix Nagel
68a369911a Selectmenu: added zIndex for positioned element 2011-09-27 23:55:52 +02:00
Felix Nagel
4d56732195 Selectmenu: improved value option, added demo file 2011-09-27 23:52:44 +02:00
Felix Nagel
9c43d64312 Selectmenu: improved events and added test file with callbacks 2011-09-27 22:06:03 +02:00
Felix Nagel
257067c81b Selectmenu: improved disable method, added and improved demo files 2011-09-27 21:46:29 +02:00
Felix Nagel
426ecaf21e Selectmenu: implemented change callback event 2011-09-27 21:33:08 +02:00
Felix Nagel
7e8e542667 Selectmenu: fixed method _setSelected called twice 2011-09-27 02:01:03 +02:00
Felix Nagel
afec3f9e0b Selectmenu: “eats” too many key strokes when focused 2011-09-27 01:50:06 +02:00
Felix Nagel
3a8216fed8 Selectmenu: improve positioning and keyboard control 2011-09-26 01:18:19 +02:00
Felix Nagel
17c8ec587d Selectmenu: improved disabled implementation 2011-09-24 05:29:05 +02:00
Felix Nagel
d2a6eadde0 Selectmenu: added destroy method 2011-09-24 04:47:11 +02:00
Felix Nagel
3503c586c4 Selectmenu: added callback events 2011-09-24 04:44:13 +02:00
Felix Nagel
35289489c4 Selectmenu: implemented disable for option and optgroup, code cleanup 2011-09-24 04:04:54 +02:00
Felix Nagel
1d9fac52f7 Selectmenu: refresh method, value option, code cleanup 2011-09-24 03:08:03 +02:00
Felix Nagel
d89e9b41a9 Selectmenu: code cleanup 2011-09-24 02:04:06 +02:00
Felix Nagel
bb4291457c Selectmenu: improved popop style, styles and focus handling 2011-09-24 01:59:16 +02:00
Felix Nagel
85a34ebedb Selectmenu: basic popop support, code cleanup 2011-09-23 00:17:24 +02:00
Felix Nagel
8120b0d6df Selectmenu: improved visual style 2011-09-22 21:20:49 +02:00
Felix Nagel
e70092f602 Selectmenu: fixed dependencies 2011-09-22 01:35:54 +02:00
Felix Nagel
ecd8ea4a1c Selectmenu: basic implementation 2011-09-22 01:34:49 +02:00