Commit Graph

170 Commits

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