Commit Graph

3244 Commits

Author SHA1 Message Date
Felix Nagel
ddf13472dd Selectmenu: use dynamic binding for document event 2013-05-15 21:04:10 +02:00
Felix Nagel
6640925db2 Merge branch 'master' into selectmenu 2013-04-29 23:40:26 +02:00
Felix Nagel
61be0e5eb0 Selectmenu: using prop instead of attr to receive disabled state 2013-04-29 23:24:15 +02:00
Felix Nagel
70a43607fa Selectmenu: do not call _getCreateOptions directly 2013-04-29 23:21:17 +02:00
Felix Nagel
b8339ebc46 Selectmenu: use outerWidth for menu width calculation 2013-04-29 23:13:26 +02:00
Felix Nagel
666927ba91 Selectmenu: add renderItemData method similar to autocomplete 2013-04-29 23:05:07 +02:00
Felix Nagel
d4f13bc213 Selectmenu: add spaces 2013-04-29 22:36:37 +02:00
Felix Nagel
17b6ff71dc Selectmenu: use guard clause for option length checking in refresh 2013-04-29 22:23:11 +02:00
Felix Nagel
ee9c4434c2 Selectmenu: adjust comments, trim trailing spaces 2013-04-29 22:19:53 +02:00
Felix Nagel
0631d7666f Selectmenu: rename var to focusIndex 2013-04-29 22:15:50 +02:00
Felix Nagel
5e9ad9b434 Selectmenu: blank before comment 2013-04-29 22:15:29 +02:00
Felix Nagel
00ab497923 Selectmenu: improve readability when creating button elements 2013-04-29 22:14:50 +02:00
Felix Nagel
8b4a3044cb Selectmenu: set aria states as string if needed 2013-04-29 22:07:41 +02:00
Felix Nagel
b84cd7e686 Selectmenu: simplify tabindex attribute setting on button create 2013-04-29 22:04:56 +02:00
Felix Nagel
68c7485ed9 Selectmenu: Comments start with an uppercase letter 2013-04-29 22:01:51 +02:00
Felix Nagel
a29cfb8bf4 Selectmenu: don't quote click, remove extraneous space 2013-04-29 21:59:55 +02:00
Felix Nagel
60eed79390 Selectmenu: improve id generation 2013-04-29 21:54:36 +02:00
Jason Moon
f5f0879153 Autocomplete: Don't prevent keypress for multiline. Fixed #8911 - Autocomplete: Unable to use up/down arrow keys in a textarea (Firefox). 2013-04-25 13:17:21 -04:00
Scott González
947d738c0b Autocomplete: Refactored _response() so that requestIndex is defined closer to where it's used. 2013-04-25 10:59:35 -04:00
Scott González
fadf2b312a All: Remove inline JSHint settings. 2013-04-22 12:35:21 -04:00
Scott González
7033544cdd Sortable: Don't create functions inside loops. 2013-04-22 12:33:35 -04:00
Felix Nagel
4efd006e26 Merge branch 'master' into selectmenu 2013-04-21 15:10:38 +02:00
Mike Sherov
d345a0d7db Draggable: allow draggable to defer destroying itself upon DOM removal until after stop is fired. Fixes #6889 - Draggable: Cursor doesn't revert to pre-dragging state after revert action when original element is removed. 2013-04-12 14:45:48 -04:00
Scott González
0d0b05ec7c Button: Remove ui-state-focus class when becoming disabled. Fixes #9169 - Button: Disabled button maintains ui-state-focus in IE & Firefox on Windows. 2013-04-11 14:03:51 -04:00
TJ VanToll
2de31fdbf4 Button: On form reset only call refresh on current button widgets. Fixed #9213: Button: timeout in formResetHandler causing refresh to be called on non-widgets 2013-04-09 22:45:46 -04:00
Scott González
8f9310609a Updated .jshintrc settings. 2013-04-08 15:02:12 -04:00
Mike Sherov
1c1b64fcf0 Datepicker Tests: Fix IE tests by accounting for async nature of focus/blur and by correctly not double focusing a programmatically focused date picker.
A partial fix was implemented to resolve #6694, and this commit completes the fix so we can programmatically focus a date picker without focus being fired twice.
2013-04-07 14:16:31 -04:00
Scott González
e11cfce801 Datepicker: Remove unused _getBorders() method. 2013-04-03 16:19:39 -04:00
Scott González
cb42ba6fd6 Datepicker: Remove unnecessary global variable now that we don't use inline event handlers anymore. 2013-04-03 16:12:50 -04:00
Scott González
504b100a1a Datepicker: Fixed date format for Serbian locales. Fixes #7347 - Datepicker: Wrong date format for Serbian localization. 2013-04-03 16:06:15 -04:00
Mike Sherov
49c7b7200e Draggable: Don't cache parent offset if the parent position is fixed. Fixes #5009 - Draggable: scroll not working with parent's position fixed 2013-04-03 12:26:39 -04:00
Mike Sherov
a88d645140 Draggable: Stop erroneously overriding scroll offsets for root nodes. Fixes #6258 - Draggable: not following mouse when scrolled and using overflow-y: scroll. 2013-04-02 19:51:36 -04:00
Felix Nagel
73c7342bc4 Merge branch 'master' into selectmenu 2013-04-02 19:42:19 +02:00
Scott González
09b3533910 Sortable: Copy the cell structure when sorting a table row. Fixes #9185 - Sortable: Placeholder breaks table-layout: fixed. 2013-04-02 10:42:21 -04:00
Scott González
5a8596cdf3 Accordion: Maintain collapsed state on refresh. Fixes #9189 - Accordion: refresh() method incorrectly opens collapsed accordion. 2013-03-27 15:23:59 -04:00
Scott González
ecd6a25a83 Core: Removed $.ui.hasScroll(). Fixes #9190 - Core: Remove $.ui.hasScroll(). 2013-03-27 09:35:17 -04:00
Scott González
b26d207d57 Core: Updated comment about $.ui.plugin. 2013-03-27 09:30:15 -04:00
Scott González
a9e1755cb9 Build: Use globals instead of predef for JSHint. 2013-03-26 14:44:32 -04:00
Mike Sherov
dc5254aa07 Draggable: Handle containment set to false after init, and style improvements. Fixes #8962 - Containment doesn't properly update 2013-03-23 16:48:19 -04:00
Jason Moon
f306a826a4 Sortable: update placeholder when axis is x or y for connected lists. Fixed #8301 - Placeholder doesn't move when using connectWith option 2013-03-23 15:42:38 -04:00
Scott González
ae4753b3f1 Datepicker Added it-CH locale. Fixes #9175 - Datepicker: Add Italian in Switzerland locale. 2013-03-21 17:11:59 -04:00
Scott González
ff11b69a67 Autocomplete: Insert the live region before the input. Fixes #9172 - Autocomplete: .replaceWith() fails to replace. 2013-03-21 15:54:50 -04:00
Jörn Zaefferer
54092e4f63 Autocomplete: Menu's input option is long gone, remove leftovers 2013-03-21 17:09:21 +01:00
Felix Nagel
26c528a4a3 Selectmenu: Updating to use instance method on bridge, see 4fce29e935 2013-03-19 20:27:12 +01:00
Felix Nagel
ba0e8040f0 Selectmenu: add ui-state-disabled and aria-disabled manually as its removed from Widget, see 44d07173db 2013-03-19 20:20:06 +01:00
Felix Nagel
1ce8d87f8b Merge branch 'master' into selectmenu 2013-03-19 19:59:31 +01:00
Jörn Zaefferer
90135b27f8 Widget tests: Use instance method. Also replace a few instances of $.data in widget implementations. 2013-03-19 16:53:35 +01:00
Corey Frang
4fce29e935 Widgets: Updating to use instance method on bridge 2013-03-19 16:08:00 +01:00
Corey Frang
36cb6f264d Widget: Implement instance method on the bridge to return widget instance - Fixes #9030 - instance method in widget prototype 2013-03-19 16:07:59 +01:00
Mike Sherov
9d8af804ad Draggable: make sure snap elements are in the document before snapping. Fixes #8459 - Draggable: element can snap to an element that was removed during drag. 2013-03-16 14:36:06 -04:00