| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Fixes #15393
Closes gh-1958
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This helps fix issues that make tooltip tests sometimes fail when run against
jQuery 3.2 or newer due to timing differences.
Details:
* Add the `moduleAfterEach` function ensuring no timers are running.
* Attach this function via `common.testWidget`.
* Attach this function to most test suites.
* Add a tooltip test helper cleaning up leftover timers.
* Rename legacy `setup`/`teardown` hooks to `beforeEach`/`afterEach`.
Closes gh-1920
|
|
|
| |
Closes gh-1919
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
jQuery positional selectors () have been deprecated in
[jQuery 3.4.0](https://blog.jquery.com/2019/04/10/jquery-3-4-0-released/)
and they'll be removed in jQuery 4.0.0. This PR removes their usage.
Most of the changes were possible without changing public API. However,
dropping `:even` usage required a change to the
[`header` option](https://api.jqueryui.com/accordion/#option-header)
of the accordion widget. I made it an optional function; this will need
to be documented.
The polyfill for `.even()` & `.odd()` is added for jQuery <3.5.0. There was
no usage of the :odd selector in the code but the `.odd()` method is also
polyfilled for completeness.
Closes gh-1904
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary of the changes:
* Build: Add jQuery 3.2.0-3.4.1 to versions UI can be tested against
* Build: Load jQuery & Migrate via HTTPS
* Build: Add package-lock.json to .gitignore
* Build: Update jQuery Migrate from 3.0.0 to 3.1.0
* Build: Allow to run tests against jQuery 3.x-git
* Build: Fix formatting according to JSCS rules
* Build: Disable JSCS for the inlined jQuery Color
* All: Switch from $.isArray to Array.isArray (jQuery.isArray will be
removed in jQuery 4.0)
* All: Switch from `$.isFunction( x )` to `typeof x === "function"`
(jQuery.isFunction will be removed in jQuery 4.0)
* All: Inline jQuery.isWindow as it'll be removed in jQuery 4.0
* Effects: Fix a timing issue in a variable declaration. Previously,
a jQuery object was created, chained & assigned to a variable that
was then accessed in a callback used inside of this chained
definition. Due to a timing difference in when the callback fired for
the first time in latest jQuery master, it was being called before
the variable was defined.
* Tests: Make dialog & draggable unit tests less strict (newest jQuery
returns fractional results in some cases, making comparisons fail when
there's a tiny difference)
* All: Migrate from $.trim to bare String.prototype.trim (jQuery.trim
will be deprecated in jQuery 3.5)
Closes gh-1901
|
|
|
|
|
| |
Fixes #15157
Closes gh-1804
|
|
|
|
|
| |
Fixes #15034
Closes gh-1807
|
| |
|
| |
|
|
|
|
|
|
|
| |
This ensures that `ui.item` actually exists in the `blur` event.
Fixes #14945
Closes gh-1696
|
|
|
|
|
|
|
|
|
|
|
| |
This issue was introduced by 0bbd1569182bc03e8dc4f5f8aa203e8edbe15f99,
which reduced the use of ui-state-focus and ui-state-active to using
only ui-state-focus. This introduced the issue addressed here.
The fix is more of a workaround. With test test in place, we can
investigate a better solution in the future.
Fixes #14919
|
|
|
|
| |
Ref #14246
|
|
|
|
|
| |
Ref #14246
Ref gh-1588
|
|
|
|
| |
Ref #13885
|
| |
|
|
|
|
|
| |
It appears that we must load require.js via a standard script tag in order
for it to work properly in IE8.
|
|
|
|
| |
Ref gh-1528
|
|
|
|
|
| |
Ref #10119
Ref gh-1528
|
|
|
|
|
| |
Ref #10119
Ref gh-1528
|
|
|
|
|
|
|
|
| |
Test uses QUnit 2.x API - inconsistent with the other tests, but also
a good reference.
Fixes #11641
Closes gh-1535
|
|
|
|
|
|
| |
This module was created from our existing implementation.
Closes gh-1532
|
|
|
|
|
|
| |
jQuery now returns `null` for empty attributes instead of `undefined`.
Closes gh-1516
|
| |
|
|
|
|
|
| |
Ref #7053
Ref gh-1411
|
|
|
|
|
| |
Fixes #7053
Closes gh-1411
|
| |
|
|
|
|
|
| |
As pointed out by jscs, after a esformatter run. The latter doesn't
address these, so fixing them manually.
|
|
|
|
|
|
|
|
| |
So far we were using ui-state-active on active parent items,
ui-state-focus on active child items. The theme update highlighted the
visual inconsistency. With this change, only ui-state-active is used.
Fixes #10692
|
|
|
|
|
| |
Fixes #10683
Closes gh-1382
|
|
|
|
|
|
|
| |
This avoids styling issues where ui-state-focus rules apply to submenus.
Fixes #10162
Closes gh-1342
|
|
|
|
|
| |
Fixes #9838
Closes gh-1365
|
|
|
|
|
| |
Fixes #10649
Closes gh-1356
|
|
|
|
|
| |
Fixes #10644
Closes gh-1354
|
|
|
|
|
| |
Fixes #10571
Closes gh-1329
|
|
|
|
| |
Fixes #10563
|
| |
|
|
|
|
|
|
|
| |
Put each external library into its own directory.
Move jquery.js to external.
Ref gh-1266
|
| |
|
| |
|
|
|
|
|
|
|
| |
- By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271;
Fixes #9464
Closes gh-1029
|
|
|
|
| |
clicks on a disabled menu. Not relevant anymore since we removed the anchors. Partial fix for #8802 - Dev: Track down uses of .bind() inside widgets
|
| |
|
| |
|
|
|
|
| |
9910e938aad1090339a2c7f60693093ee18aba82)
|
|
|
|
| |
overrides. Fixes #9532 - Need a way in Menu to keep ui-state-active class on selected item
|
|
|
|
| |
parent-child structures
|
| |
|
|
|
|
| |
Fixes #9044 - Menu: Autofocus issue with dialog opened from menu widget
|
| |
|
|
|
|
|
|
| |
#9469: on( "menuselect" )
not firing every time.
|