Commit Graph

1839 Commits

Author SHA1 Message Date
Kris Borchers
78c593be8f Menu: Only focus menu after click if focus is on an element within menu. Fixes #9044 - Menu: Autofocus issue with dialog opened from menu widget
(cherry picked from commit 485e0a0612)
2013-11-26 15:04:39 -05:00
Scott González
1b207d37ab Tests: Fixed accidental use of comma instead of semicolon.
(cherry picked from commit dc380ee695)
2013-11-26 14:48:47 -05:00
TJ VanToll
885421afd2 Menu tests: jshint cleanup of unused argument
(cherry picked from commit afdf898659)
2013-11-26 14:46:49 -05:00
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
Kris Borchers
d379af9e96 Menu tests: Whitespace and general cleanup
(cherry picked from commit 86eaa30994)
2013-11-26 11:30:23 -05:00
Kris Borchers
be7d0a54ea Menu tests: Check default is prevented on any click on disabled menus
(cherry picked from commit a74ac174cc)
2013-11-26 11:30:18 -05:00
Scott González
d1b764b5f5 Core tests: Explicitly focus the body during delayed .focus() test to avoid an issue in IE 8.
(cherry picked from commit afeaf565bb)
2013-11-26 11:29:35 -05:00
Bruno M. Custódio
1aad398dba Updating jQuery to 1.10.2.
Adding jQuery 1.10.0, 1.10.1, 1.10.2, 2.0.0, 2.0.1, 2.0.2 and 2.0.3 to the
tests directory.
(cherry picked from commit 0d5eaab9bb)

Conflicts:

	demos/progressbar/download.html
2013-11-26 11:27:25 -05:00
Jörn Zaefferer
64d84cebe1 Menu tests: Fix lint error
(cherry picked from commit 628a141485)
2013-11-26 10:58:26 -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
a2c88702de Slider Tests: Remove pointless doc blocks.
(cherry picked from commit e776a7fb09)
2013-11-26 10:42:59 -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
Jörn Zaefferer
7bbe9dc114 Datepicker: Replicate fr-locale changes to the demo copy. Adjust unit tests to match the new lowercase names. Fixes #9289 - Datepicker: Incorrect capitalisation for French and Spanish
(cherry picked from commit aaf75767fa)
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
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
bda92da664 Autocomplete tests: Cleanup.
(cherry picked from commit 7af03b73ea)
2013-11-25 17:29:43 -05:00
Scott González
0755faaad1 Whitespace.
(cherry picked from commit 72f82df577)
2013-11-25 17:29:22 -05:00
Mike Sherov
1a4e6e98fd Datepicker Tests: Fix hanging IE tests resulting from asynchronous blur(cherry picked from commit 71a332e8b8) 2013-11-25 17:24:06 -05:00
Mike Sherov
03e96b110b Datepicker Tests: fix failing oldIE tests by creating new inputs to focus when necessary for focus tests.(cherry picked from commit b75e4f7d27) 2013-11-25 17:23:59 -05:00
Mike Sherov
06d830f1a4 Test Suite: Remove Flaky Datepicker test, and correct more old jQuery test cases for old Opera and old Safari.(cherry picked from commit 7c939aadf8)
Conflicts:

	tests/unit/draggable/draggable_options.js
2013-11-25 17:23:41 -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
Mike Sherov
693bab1010 Datepicker Tests: ensure Focus tests work all the way back to jQuery 1.6 in all browsers without having to rely on timeouts.(cherry picked from commit 530d1b7c8c) 2013-04-17 15:33:47 -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
Scott González
ef26587194 Draggable tests: Wrap IIFE in parens.
(cherry picked from commit d7ea0e5e51)
2013-04-17 15:25:12 -04:00
Mike Sherov
c9d84e531e Datepicker Tests: use simulated events for focus and blur.(cherry picked from commit ab84e037ed) 2013-04-17 15:24:48 -04:00
Mike Sherov
0bea0d6d02 Datepicker Tests: fix IE7 test failures by ensuring the datepicker is hidden before showing it.(cherry picked from commit 2f7a4c669d) 2013-04-17 15:24:42 -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
Mike Sherov
5bcf0bf50b Draggable Tests: style guide conformance for TestHelpers(cherry picked from commit 58d9130ba3) 2013-04-17 15:24:27 -04:00
Mike Sherov
0c02740fa7 Draggable Tests: fix more old Safari and old Opera tests with jQuery < 1.8 tests by accounting for a bug in $.contains on disconnected Elements.(cherry picked from commit d4d9e14161) 2013-04-17 15:24:21 -04:00
Mike Sherov
17ce0a5cb0 Draggable Tests: fix old Safari and old Opera tests with jQuery < 1.8 tests by accounting for a bug in $.contains on disconnected Elements.(cherry picked from commit 3c1a3ca252) 2013-04-17 15:24:13 -04:00
Mike Sherov
2258e02e76 Draggable Tests: fix copypasta'd assertion messages.(cherry picked from commit 6a3bf605ba) 2013-04-17 15:24:09 -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
Mike Sherov
83e0b4c6c8 Spinner Tests: Fix IE test failures by removing timing dependencies from focus/blur tests.(cherry picked from commit 5217b975f3) 2013-04-17 15:07:29 -04:00
Mike Sherov
17472ace8c Spinner Tests: Fix IE test failures by accounting for the async nature of focus/blur.(cherry picked from commit efe8da8e6e) 2013-04-17 15:07:24 -04:00
Mike Sherov
771664153e Autocomplete Tests: Fix oldIE test failures by accounting for casing differences in .html() return values.(cherry picked from commit 70717273a8) 2013-04-17 15:07:19 -04:00
Mike Sherov
d9391c7590 Position Tests: Fix FF and IE10 test failures by accounting for subpixel offsets.(cherry picked from commit e12879a441) 2013-04-17 15:07:13 -04:00
Mike Sherov
3f29430f8a Draggable Tests: Fix IE8 test failures by accounting for the IE8 testswarm IFRAME positioning bug.(cherry picked from commit 204a0423be) 2013-04-17 15:07:08 -04:00
Mike Sherov
90e9732032 Sortable Tests: Fix IE7 Test fails by being more generous with dragging near borders.(cherry picked from commit bbb53df27d) 2013-04-17 15:07:03 -04:00
Mike Sherov
ff2fe5bc94 Sortable Tests: Fix IE7 test failures due to incorrectly expecting relative urls in img srcs.(cherry picked from commit 384f181254) 2013-04-17 15:06:58 -04:00
Mike Sherov
59da723acd Selectable Tests: Fix test failures in IE7 by accounting simulated events properly.(cherry picked from commit 875139ef8f) 2013-04-17 15:06:53 -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
f9097a6d86 Tests: Handle globals in .jshintrc.
(cherry picked from commit 2c43548ac6)
2013-04-17 14:56:45 -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
Scott González
024843c4b1 Whitespace.
(cherry picked from commit a4fabd2bb4)
2013-04-17 14:53:52 -04:00
Mike Sherov
ee4cd548e4 Draggable Tests: Minor style fixes and removing unnecessary setup and teardown for core tests.
(cherry picked from commit 38f93c4ac1)
2013-04-17 14:53:17 -04:00