Commit Graph

3003 Commits

Author SHA1 Message Date
TJ VanToll
b02a32f4b3 Menu: Only set the mouseHandled flag if the event is going to bubble. Fixes #9469: on( "menuselect" )
not firing every time.
(cherry picked from commit 484e382259)
2013-11-26 14:46:41 -05:00
Siebrand Mazeland
1a2284deb6 Position: Replace double space with single space.
(cherry picked from commit a3770884ac)
2013-11-26 11:32:24 -05:00
Vilhjálmur Skúlason
94be965cd2 Datepicker: Fixed Icelandic locale. Fixes #9431 - Datepicker: Wrong dateformat for Icelandic datepicker locale.
(cherry picked from commit 369c76d9e6)
2013-11-26 11:32:09 -05:00
Gan Eng Chin
ea72dea563 Datepicker i18n: Removed "<" in the "Anterior" text for the pt locale.
Removed "<" in the "Anterior" text, so that it is consistent with "Seguinte".
(cherry picked from commit e591a7a9af)
2013-11-26 11:11:37 -05:00
TJ VanToll
9b398520c5 Menu: Ensure an event was passed before checking its type. Fixes #9384 - Menu: _focus function forgets null check with doing a pattern match on event.type
(cherry picked from commit 670f650b99)
2013-11-26 11:11:13 -05:00
TJ VanToll
db1ee1af85 Menu: Reset ui-menu-icons class in refresh. Fixes #9377: Menu: Refreshing should recheck for menu icons
(cherry picked from commit 91b7b9f9ab)
2013-11-26 10:53:04 -05:00
Scott González
8fba171fec Slider: Remove range div when changing range option to false. Fixes #9355 - Slider: Changing range option to false does not remove range div.
(cherry picked from commit 2ba75e2c93)
2013-11-26 10:42:09 -05:00
Steven Luscher
0ab1e16ad9 Droppable: Defer querying of offsetWidth and offsetHeight until they're required. Fixes #9339 - Droppable: offsetWidth and offsetHeight are queried unnecessarily causing synchronous reflow.
(cherry picked from commit a4fc7a9e96)
2013-11-26 10:25:24 -05:00
Christian Klammer
1660c761e7 Resizable: Fixed sign error on offset calculation. Fixes #9307 - Resizable: Erratic behavior of contained elements within scrollable grandparents
(cherry picked from commit 6df5c1a4ae)
2013-11-26 10:25:24 -05:00
Scott González
e4a194ce42 Autocomplete: Scope race condition handling to the instance. Fixes #9334 - Autocomplete: Multiple instances should be able to start asynchronous requests simultaneously.
(cherry picked from commit 9e00e00f3b)
2013-11-26 10:25:23 -05:00
TJ VanToll
26238369bb Dialog: Add type="button" to the close button. Fixed #9312: Dialog: closes on enter in textbox in IE.
(cherry picked from commit c19e7b3496)
2013-11-26 10:25:23 -05:00
Scott González
39ff5b36e4 Tabs: Restore anchor cloning for remote tab testing. Fixes #9317 - Tabs: Incorrect remote tab detection in IE7.
(cherry picked from commit daf3f0d9af)
2013-11-26 10:25:23 -05:00
Scott González
c241313f1d Widget: Properly set widgetEventPrefix when redefining a widget. Fixes #9316 - Widget: widgetEventPrefix is empty when widget is (occasionally) loaded twice.
(cherry picked from commit 2eb89f0734)
2013-11-26 10:16:01 -05:00
Scott González
511bd9842f Datepicker i18n: Updated Spanish and French locales. Fixes #9289 - Datepicker: Incorrect capitalisation for French and Spanish.
(cherry picked from commit 9726cd72b6)
2013-11-26 10:13:12 -05:00
Scott González
edf36f35ce Position: Use absolute positioning when getting scrollbar width to avoid reflows of user content. Fixes #9291 - Position - $.position.scrollbarWidth detection causes layout issues.
(cherry picked from commit d500e945a4)
2013-11-26 10:12:44 -05:00
Toshi MARUYAMA
d8e166b411 Datepicker: Fixed Lithuanian translation. Fixes #9281 - Datepicker i18n: Incorrect settings for Lithuanian locale.
(cherry picked from commit ce73a2688d)
2013-11-26 10:10:50 -05:00
Scott González
3de683d135 Autocomplete: Refactored _response() so that requestIndex is defined closer to where it's used.
(cherry picked from commit 947d738c0b)
2013-11-25 17:26:58 -05:00
Scott González
215b19d127 All: Remove inline JSHint settings.
(cherry picked from commit fadf2b312a)
2013-11-25 17:24:19 -05:00
Scott González
b147d00ce1 Sortable: Don't create functions inside loops.
(cherry picked from commit 7033544cdd)
2013-11-25 17:24:13 -05:00
Scott González
6e48da0490 Button: Remove ui-state-focus class when becoming disabled. Fixes #9169 - Button: Disabled button maintains ui-state-focus in IE & Firefox on Windows.
(cherry picked from commit 0d0b05ec7c)

Conflicts:

	ui/jquery.ui.button.js
2013-11-25 16:53:28 -05:00
Jason Moon
c1f7f527af Autocomplete: Don't prevent keypress for multiline. Fixed #8911 - Autocomplete: Unable to use up/down arrow keys in a textarea (Firefox).
(cherry picked from commit f5f0879153)
2013-04-25 13:18:11 -04:00
TJ VanToll
1152e65917 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
(cherry picked from commit 2de31fdbf4)
2013-04-17 15:29:12 -04:00
Scott González
a798459636 Updated .jshintrc settings.
(cherry picked from commit 8f9310609a)
2013-04-17 15:25:17 -04:00
Mike Sherov
2879b3ac25 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.(cherry picked from commit 1c1b64fcf0)
2013-04-17 15:24:32 -04:00
Scott González
33c672e2e1 Datepicker: Remove unused _getBorders() method.
(cherry picked from commit e11cfce801)
2013-04-17 15:09:44 -04:00
Scott González
0aef038a43 Datepicker: Remove unnecessary global variable now that we don't use inline event handlers anymore.
(cherry picked from commit cb42ba6fd6)
2013-04-17 15:09:39 -04:00
Scott González
f15731072b Datepicker: Fixed date format for Serbian locales. Fixes #7347 - Datepicker: Wrong date format for Serbian localization.
(cherry picked from commit 504b100a1a)
2013-04-17 15:09:33 -04:00
Mike Sherov
c1011b5b9d Draggable: Don't cache parent offset if the parent position is fixed. Fixes #5009 - Draggable: scroll not working with parent's position fixed(cherry picked from commit 49c7b7200e) 2013-04-17 15:09:26 -04:00
Mike Sherov
48b48a8865 Draggable: Stop erroneously overriding scroll offsets for root nodes. Fixes #6258 - Draggable: not following mouse when scrolled and using overflow-y: scroll.
(cherry picked from commit a88d645140)
2013-04-17 15:09:20 -04:00
Scott González
9711c54c6d Sortable: Copy the cell structure when sorting a table row. Fixes #9185 - Sortable: Placeholder breaks table-layout: fixed.
(cherry picked from commit 09b3533910)
2013-04-17 15:09:06 -04:00
Scott González
a93ad182c8 Accordion: Maintain collapsed state on refresh. Fixes #9189 - Accordion: refresh() method incorrectly opens collapsed accordion.
(cherry picked from commit 5a8596cdf3)
2013-04-17 14:57:09 -04:00
Scott González
14c7525853 Core: Updated comment about $.ui.plugin.
(cherry picked from commit b26d207d57)
2013-04-17 14:56:21 -04:00
Scott González
86efe54ef3 Build: Use globals instead of predef for JSHint.
(cherry picked from commit a9e1755cb9)
2013-04-17 14:55:58 -04:00
Mike Sherov
507043c3a2 Draggable: Handle containment set to false after init, and style improvements. Fixes #8962 - Containment doesn't properly update
(cherry picked from commit dc5254aa07)
2013-04-17 14:51:03 -04:00
Jason Moon
9ac505b9fa Sortable: update placeholder when axis is x or y for connected lists. Fixed #8301 - Placeholder doesn't move when using connectWith option
(cherry picked from commit f306a826a4)
2013-04-17 14:50:11 -04:00
Scott González
2da014b11d Autocomplete: Insert the live region before the input. Fixes #9172 - Autocomplete: .replaceWith() fails to replace.
(cherry picked from commit ff11b69a67)
2013-04-17 11:55:51 -04:00
Jörn Zaefferer
365cc67d86 Autocomplete: Menu's input option is long gone, remove leftovers
(cherry picked from commit 54092e4f63)
2013-04-17 11:54:02 -04:00
Mike Sherov
ecabe47544 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.(cherry picked from commit 9d8af804ad) 2013-04-17 11:47:56 -04:00
Zbigniew Motyka
f74a908056 Draggable: modified snapping algorithm to use edges and corners. Fixed #8165 - Draggable: Snapping doesn't take top/left into account properly(cherry picked from commit bd126a9c1c) 2013-04-17 11:46:10 -04:00
Woody Gilk
943537cb78 Draggable: Fix double offset bug when scrolling. Fixes #6817 - Draggable: auto scroll goes double distance when dragging
(cherry picked from commit 82f588e82b)
2013-04-17 11:38:29 -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
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
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