| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
The jQuery Simulate & jQuery Color updates are needed for compatibility
with jQuery master, a future jQuery 4.
Closes gh-1914
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
The term for "Today" in Danish is "I dag" not "Idag". This is a common misspelling in the Danish language.
see https://dsn.dk/?retskriv=idag
Dansk Sprognævn (DSN) is the authority over the Danish language.
Closes gh-1862
|
|
|
|
|
|
| |
See:
https://github.com/jquery/jquery-migrate/blob/master/warnings.md#jqmigrate-jqueryexprfilters-is-deprecated-use-jqueryexprpseudos
Closes gh-1887
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 #15195
Closes gh-1820
|
|
|
|
|
|
|
|
|
| |
The old logic worked when all widgets of the same type used the same
event namespace. However, now that each instance has its own namespace,
we cannot use `_on()` for shared event handlers.
Fixes #15182
Closes gh-1817
|
|
|
|
|
| |
Ref #15160
Closes gh-1813
|
|
|
|
|
| |
Ref #15160
Ref gh-1813
|
|
|
|
|
| |
Fixes #15106
Closes gh-1811
|
|
|
|
|
|
|
| |
This commit polyfills `jQuery.expr.pseudos` for old versions of jQuery.
Fixes #15185
Closes gh-1773
|
|
|
|
|
| |
Fixes #9356
Closes gh-1806
|
|
|
|
|
| |
Fixes #9357
Closes gh-1805
|
|
|
|
|
| |
Fixes #15157
Closes gh-1804
|
|
|
|
|
| |
Fixes #15109
Closes gh-1808
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Created _scroll extension point and migrated scroll code from _mouseDrag
* Cleaned up logic for scrolled
* Fixed appendTo functionality to match documentation
* Remove unnecessary function calls
* Move set-up position functions to appropriate place
* Base scrollParent on placeholder and not helper
* Update scrollParent when switching containers
Fixes #3173
Fixes #15165
Fixes #15166
Fixes #15167
Fixes #15168
Fixes #15169
Fixes #15170
Closes gh-1793
|
|
|
|
| |
Fixes #15184
|
|
|
|
|
| |
Fixes #15034
Closes gh-1807
|
|
|
|
|
| |
Fixes #15179
Closes gh-1809
|
|
|
|
|
|
|
|
|
| |
Fixes #15078
Fixes #15082
Fixes #15095
Fixes #15136
Fixes #15152
Closes gh-1769
|
|
|
|
|
| |
Closes gh-1798
Ref gh-1795
|
|
|
|
|
|
|
|
| |
Months and weekdays should be in small caps in Swedish.
https://sv.wikipedia.org/wiki/Versalisering
Fixes #15142
Closes gh-1799
|
|
|
|
|
|
|
| |
The try/catch was only there to support jQuery <1.6.3, which we no
longer support.
Ref jquery/jquery#3554
|
|
|
|
|
| |
Fixes #15084
Closes gh-1795
|
|
|
|
|
| |
Fixes #15139
Closes gh-1794
|
|
|
|
|
| |
Fixes #15102
Closes gh-1784
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
IE11 and scrolling autocompletes didn't get along great; this should help fix
their relationship.
When you click on an autocomplete scrollbar in IE11, the menu temporarily
gains focus, which caused a couple problems.
1. Depending on how long you clicked, the dropdown could close.
2. Scrolling down by clicking the scrollbar's down arrow would misbehave. The
list would pop back up to the top with the first item selected.
We can fix both problems by modifying the focus/blur handling a bit.
1. There is a flag to instruct the control to ignore blurs, but it was getting
cleared too quickly; when the code refocused the input after it was blurred,
IE would send *another* blur event, which wasn't getting ignored and would
close the dropdown. We now wait for the focus/blur pair to process before
clearing the flag.
2. We remove the tabindex from the dropdown menu, which prevents menu's focus
handler from firing. When you focus a menu, it will select the first menu item
if none are selected. Selecting a menu item will scroll it into view if it's
not visible. This combination of behaviors was causing the strange behavior
when attempting to scroll down.
I couldn't figure out a way to write a unit test for this, since it's IE only
and seems to require user interaction. You can verify the previous behavior
(and the fix) on `demos/autocomplete/maxheight.html`
Fixes #9638
Closes gh-1785
|
|
|
|
| |
Closes gh-1778
|
|
|
|
| |
Fixes #15098
|
|
|
|
|
|
|
| |
This is needed in the case that the tooltip is removed before it gets shown.
Fixes #15099
Closes gh-1768
|
|
|
|
| |
Closes gh-1764
|
|
|
|
|
|
|
|
| |
Save `z-index` before saving `opacity`. Setting `opacity` automatically
changes `z-index`.
Fixes #14683
Closes gh-1762
|
|
|
|
|
| |
Fixes #15074
Closes gh-1760
|
|
|
|
|
| |
Fixes #13662
Closes gh-1578
|
|
|
|
|
| |
Fixes #15055
Closes gh-1756
|
|
|
|
|
| |
Fixes #15060
Closes gh-1754
|
|
|
|
|
| |
Fixes #15021
Closes gh-1749
|
|
|
|
| |
Fixes #14963
|
|
|
|
|
| |
Fixes #10122
Closes gh-1748
|
|
|
|
|
| |
Fixes #4186
Closes gh-1750
|
|
|
|
|
|
|
| |
Regression caused by a1d69208bad175a27c7b50c27fdc10001563cd4d
Fixes #15042
Closes gh-1746
|
|
|
|
|
| |
Fixes #15043
Closes gh-1744
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I was running into a problem with a popup menu control in a dialog; clicks
weren't working (but keyboard was working fine). It turned out that the menu
was getting destroyed before the click event could fire.
Tracked down the issue to the way draggable blurs focused controls; it was
doing the blur before it ran through the logic to figure out if the drag was
actually on the handle. I've moved the blur below these checks, so it'll only
blur things if it actually needs to handle the drag. Otherwise, it asserts no
opinion on what should and shouldn't be focused, which seems like the way
things ought to be.
Also, added a unit test to check for the expected behavior.
Fixes #15046
Closes gh-1730
|
|
|
|
|
| |
Fixes #15023
Closes gh-1740
|
|
|
|
|
|
| |
Hooray for newer browsers.
Closes gh-1739
|
|
|
|
| |
We still support IE 8, which doesn't have this method.
|
|
|
|
|
|
|
|
| |
As of jQuery 3.0.0, hashes are no longer stripped for Ajax requests. This
causes issues in IE <11, so we need to strip this before making the request.
Ref jquery/jquery#1732
Closes gh-1736
|