aboutsummaryrefslogtreecommitdiffstats
path: root/ui/widgets/datepicker.js
Commit message (Collapse)AuthorAgeFilesLines
* Datepicker: Hide the UI on destroyPorter Clevidence2024-08-051-0/+1
| | | | | | | | | | | | When the datepicker UI is shown and then destroyed programmatically: ```js $( "#datepicker" ).datepicker( "destroy" ); ``` hide the datepicker UI without the need for an explicit user action. Previously, in 1.12 the UI would not disappear immediately but only after the first `mousedown`. In later 1.13 versions, the UI would not disappear at all. Fixes gh-2178 Closes gh-2268
* All: Drop support for jQueries different than the latest for each majorMichał Gołębiowski-Owczarek2024-05-151-6/+2
| | | | | | Also, remove the ability to run the test suite in jQuery <1.12.4 & <2.2.4. Closes gh-2249
* Docs: Change a few most common domains from HTTP to HTTPSMichał Gołębiowski-Owczarek2024-04-261-5/+5
| | | | | Also, update a few stale URLs to what they redirect now to. Closes gh-2244
* All: Update JS Foundation mentions to OpenJS FoundationMichał Gołębiowski-Owczarek2022-07-191-1/+1
| | | Closes gh-2104
* Datepicker: Get selectedDay from data-date instead of element contentsc-lambert2021-07-121-1/+2
| | | | | This makes datepicker work fine even if translation software modifies texts on the page. Closes gh-1943
* Build: Migrate from JSHint & JSCS to ESLintMichał Gołębiowski-Owczarek2021-06-071-20/+35
| | | | | Fixes #15393 Closes gh-1958
* Datepicker: Add option for onUpdateDatepicker callbackPatrick McKay2021-05-211-1/+7
| | | | | | Add a new option named onUpdateDatepicker that allows a custom callback to be provided. If provided, the callback is called at the end of $.datepicker._updateDatepicker.
* Fix: Adapt datpicker.js for a11yMikolaj Wolicki2021-05-151-4/+9
|
* Datepicker: Make sure text option are text, shorten HTML stringsMichał Gołębiowski-Owczarek2021-05-121-21/+115
| | | | | | | | Instead of using enormous HTML strings, various elements are now constructed using jQuery APIs. This makes it more obvious user-provided data is used correctly. Fixes #15284 Closes gh-1953
* Datepicker: Make sure altField is treated as a CSS selectorMichał Gołębiowski-Owczarek2021-05-041-1/+1
| | | Closes gh-1954
* Datepicker: Fixed current instance memory leak and added unit testcasesjigar gala2020-03-231-0/+1
|
* All: Remove usage of jQuery positional selectorsMichał Gołębiowski-Owczarek2020-01-221-1/+1
| | | | | | | | | | | | | | | | | 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
* All: Use expr.pseudos instead of deprecated expr.filtersMaksymenkov Eugene2019-12-081-1/+1
| | | | | | See: https://github.com/jquery/jquery-migrate/blob/master/warnings.md#jqmigrate-jqueryexprfilters-is-deprecated-use-jqueryexprpseudos Closes gh-1887
* Datepicker: Fix prev/next button behavior with `showCurrentAtPos`claudi2017-01-251-3/+1
| | | | | Fixes #15102 Closes gh-1784
* Datepicker: Disable maxLineLength for jscsAlexander Schmitz2016-04-131-0/+1
| | | | | | There are too many errors and re-write is essentially done Ref gh-1690
* Datepicker: Fixed keyboard navigationPiotr Baran2016-03-301-2/+2
| | | | | Fixes #7956 Closes gh-1677
* Datepicker: Use `getFullYear()` instead of deprecated `getYear()`Fahad Ahmad2016-02-211-1/+1
| | | | | Fixes #14920 Closes gh-1678
* Datepicker: Refactor `_updateAlternate()` methodBenjamin Albert2015-11-131-1/+1
| | | | Closes gh-1647
* All: Fix manifest issues for categories and CSS dependenciesJörn Zaefferer2015-10-231-3/+3
| | | | | | | Collapses "UI Core" and "Core" into just "Core". Fixes bad paths for CSS dependencies. Regressed when moving widgets into the widgets subfolder.
* Widget: Update to use camelCase identifiersAlexander Schmitz2015-09-111-0/+1
|
* Datepicker: Style updatesAlexander Schmitz2015-09-111-855/+881
| | | | Ref #14246
* Datepicker: Remove stray lineScott González2015-08-281-1/+0
| | | | Fixes #14416
* Datepicker: Style updatesAlexander Schmitz2015-08-211-7/+7
| | | | | Ref #14246 Ref gh-1588
* Datepicker: Move datepicker into widgets folderAlexander Schmitz2015-08-081-0/+2093
Ref #13885