Commit Graph

3212 Commits

Author SHA1 Message Date
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
Zbigniew Motyka
bd126a9c1c Draggable: modified snapping algorithm to use edges and corners. Fixed #8165 - Draggable: Snapping doesn't take top/left into account properly 2013-03-16 11:51:51 -04:00
Woody Gilk
82f588e82b Draggable: Fix double offset bug when scrolling. Fixes #6817 - Draggable: auto scroll goes double distance when dragging 2013-03-15 18:52:56 -04:00
Scott González
932caaf2dd Core: Deprecated .zIndex(). Fixes #9061 - Core: Deprecate .zIndex(). 2013-03-15 07:01:24 -04:00
Scott González
ae9651931f Datepicker: Don't use .zIndex(); implement the logic locally. 2013-03-15 06:53:09 -04:00
Scott González
43442c3196 Accordion: Remove deprecated content property in create event. Fixes #8999 - Accordion: Remove content property from create event. 2013-03-15 06:45:38 -04:00
Scott González
0cc40d799f Dialog: Removed deprecated position handling. Fixes #8825 - Dialog: Remove array and string notations for position option. 2013-03-15 06:41:06 -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
Scott González
054449e214 Sortable: Only animate along the specified axis when reverting. Fixes #7415 - Sortable: Incorrect revert animation with axis: 'y'. 2013-03-13 11:31:54 -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
Jörn Zaefferer
775b81b9e6 Selectmenu: Remove aria-selected, since that only causes NVDA to announce 'not selected', doesn't have any positive effect 2013-03-09 13:00:38 +01:00
John Chen
07ce771a13 Sortable: Skip triggering over event if it's alreay over the continer. Fixes #9041: the over event fires on every pixel movement 2013-03-08 16:52:35 -05:00
John Chen
89473f6557 Sortable: Skip items that are not at the same line as the cursor when floating. Fixes #8792: Issue with floated items in connected lists. 2013-03-08 16:52:21 -05:00
Scott González
e0b2644d91 Removed guard against duplicate loading. Use safe references to original functions when proxying, don't rename originals. 2013-03-08 10:23:25 -05:00
Scott González
cdff72efed Draggable: Account for descendants in handle. 2013-03-08 10:08:58 -05:00
TJ VanToll
6358695df1 Draggable: Fix border containment. Fixed #5569 - Draggable: Containment incorrectly calculates padding and border 2013-03-07 21:42:28 -05:00
Felix Nagel
0bf91a41c6 Merge branch 'master' into selectmenu 2013-03-07 23:56:48 +01:00
Felix Nagel
66ba39094e Selectmenu: remove button wrapper element 2013-03-07 23:53:15 +01:00
Jörn Zaefferer
022079a782 Selectmenu: Switch to span to avoid cranky click/keydown event handling 2013-03-07 23:23:10 +01:00
Felix Nagel
6e80a19d02 Selectmenu: improve keyboard control 2013-03-07 22:57:49 +01:00
Felix Nagel
f128292636 Selectmenu: fix keyboard control issue 2013-03-07 20:10:56 +01:00
Felix Nagel
f08b0af1be Selectmenu: make sure menu is refreshed at least once before opening 2013-03-07 19:34:13 +01:00
Felix Nagel
8787cb0456 Selectmenu: switch from a to button element 2013-03-07 19:15:37 +01:00
Scott González
b9be6bb7ad Sortable: Copy the src of the original item when creating a placeholder from an image. Fixes #5129 - Sortable: Unable to use an image as a placeholder in Firefox. 2013-03-07 12:55:00 -05:00
Mike Sherov
c278a4461b Draggable Tests: Add test coverage for supported options 2013-03-04 01:05:11 -05:00
Felix Nagel
dffe8f6610 Merge branch 'master' into selectmenu 2013-03-03 13:48:01 +01:00
Jörn Zaefferer
d94e217065 Selectmenu: Fix whitespace (trailing ws on 1 line) and lint issues (unused variables) 2013-03-01 17:18:03 +01:00
Scott González
6f29577436 Effects: Handle the .hide/show/toggle( options ) signatures from core properly. Fixes #9126 - .show()/.hide() do not support all of core's options. 2013-02-28 13:34:49 -05:00
Scott González
948563b8b5 Effects: Delegate to core show/hide when the element is already in the correct final state. This forces the element to go through the olddisplay tracking and forces styles on elements even if they're hidden via an ancestor. Fixes #9120 - Effects: .hide() inconsistent with core with a hidden parent. 2013-02-26 10:36:03 -05:00
Zaven Muradyan
1c80735acb Droppable: Changed drop event to loop over a copied array instead of the droppables directly. Fixed #9116 - Droppable: Drop event can cause droppables to remain active if any droppable is created/destroyed in the event handler. 2013-02-26 09:56:18 -05:00
Scott González
e9c04bfa43 Position: Fix orientation check for scrollbar widths. Fixes #8763 - Position: getScrollInfo() swapped width and height. 2013-02-26 08:59:28 -05:00
Scott González
d5d3a745b0 Autocomplete: Set isNewMenu flag on every suggestion. Fixes #9118 - Autocomplete: Mouse auto-highlights option in Firefox. 2013-02-25 15:36:08 -05:00