| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-06-02 | [5.2.x] Fixed #36423 -- Prevented filter_horizontal buttons from ↵ | Blayze | |
| intercepting form submission. In the admin's filter_horizontal widget, optional action buttons like "Choose all", "Remove all", etc. were changed from `<a>` to `<button>` elements in #34619, but without specifying `type="button"`. As a result, when pressing Enter while focused on a form input, these buttons could be triggered and intercept form submission. Explicitly set `type="button"` on these control buttons to prevent them from acting as submit buttons. Thanks Antoliny Lee for the quick triage and review. Regression in 857b1048d53ebf5fc5581c110e85c212b81ca83a. Backport of 90429625a85f1f77dfea200c91bd2dabab57974f from main. | |||
| 2025-04-01 | [5.2.x] Fixed #36284, Refs #31170 -- Ensured related lookup popups are ↵ | nessita | |
| closed properly. In the admin, when selecting related objects via the helpers defined in `RelatedObjectLookups.js`, the `dismissRelatedLookupPopup` function was attempting to access `window.relatedWindows`, which does not exist in real execution, causing related lookup popups to remain open. This change ensures that this code correctly accesses the module-local `relatedWindows` by explicitly assigning it to `window.relatedWindows`. Regression in 91bebf1adb43561b54bac18e76224759dc70acb3. Thanks Matthias Kestenholz for the report, the fix ideas, and testing. Co-authored-by: Matthias Kestenholz <mk@feinheit.ch> Backport of a245604277eb9edeba234dacf199890766462709 from main. | |||
| 2025-03-26 | [5.2.x] Refs #34619 -- Corrected selector description in the admin. | Mariusz Felisiak | |
| Backport of 0d92428d77fafff373e05dd5a6cdb62bd1dfbda0 from main | |||
| 2025-02-18 | [5.2.x] Fixed #31170 -- Added change event trigger to dismissRelatedLookupPopup. | Кайрат Макым | |
| Backport of 51398f8bd568a6324a8cafe20c068d0974913ad5 from main. | |||
| 2025-02-18 | [5.2.x] Refs #31170 -- Added JavaScript tests for RelatedObjectLookups.js. | Кайрат Макым | |
| Backport of 91bebf1adb43561b54bac18e76224759dc70acb3 from main. | |||
| 2024-11-20 | Fixed #34619 -- Associated FilteredSelectMultiple elements to their label ↵ | GappleBee | |
| and help text. | |||
| 2024-05-22 | Refs #35189 -- Removed no longer necessary JavaScript file collapse.js. | Marijke Luttekes | |
| 2024-05-06 | Migrated to ESLint 9+. | Mariusz Felisiak | |
| 2023-11-30 | Fixed #34995 -- Improved position of related widget's add link on admin ↵ | Tom Carrick | |
| pages on small screens. Regression in 1699f8b52ac15f687cc39088401c2641022c71cd. Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Co-authored-by: Natalia Bidart <124304+nessita@users.noreply.github.com> | |||
| 2023-06-09 | Fixed #23049 -- Added %a and %A support to Date.strftime. | sarahboyce | |
| This enables the admin to display the day as locale's abbreviated/full name if %a/%A is used in the date format. | |||
| 2023-02-16 | Fixed #34045 -- Improved accessibility of selecting items in admin changelist. | Durval Carvalho | |
| This adds "aria-label". | |||
| 2022-12-29 | Upgraded OpenLayers to v.7.2.2. | Claude Paroz | |
| 2022-09-06 | Fixed #24179 -- Added filtering to selected side of vertical/horizontal filters. | Gav O'Connor | |
| 2022-09-06 | Refs #24179 -- Added extra JS tests for admin vertical/horizontal filters. | Gav O'Connor | |
| 2022-04-14 | Fixed #33637 -- Improved initial zoom level in MapWidget. | Claude Paroz | |
| 2022-02-23 | Fixed #33328 -- Transformed formset:added/removed to native JS events. | Claude Paroz | |
| 2021-11-25 | Fixed #33024 -- Fixed height of admin selector boxes in collapsed fieldset. | Shubh1815 | |
| Thanks Tom Carrick for the review. | |||
| 2021-03-31 | Fixed #32204 -- Added quick filter to admin's navigation sidebar. | Maxim Milovanov | |
| 2020-10-28 | Fixed #32062 -- Added %b support to Date.strftime. | Gagan Deep | |
| This enables the admin to display the month as locale's abbreviated name if %b is used in the date format. | |||
| 2020-10-28 | Added unit test for Date.getFullMonthName. | Gagan Deep | |
| 2020-07-01 | Fixed #31522 -- Made admin's SelectBox preserve scroll position. | tapan gujjar | |
| 2020-06-24 | Fixed #31523 -- Removed jQuery dependency from actions.js. | Jon Dufresne | |
| 2020-05-27 | Fixed #11157 -- Stopped removing stop words in admin's prepopulated_fields. | Scott Cranfill | |
| Co-Authored-By: Andy Chosak <andy@chosak.org> | |||
| 2020-04-29 | Refs #31493 -- Changed IIFE to ES6 blocks. | Jon Dufresne | |
| 2020-04-29 | Fixed #31493 -- Replaced var with const and let keywords in JavaScript. | Jon Dufresne | |
| The eslint configuration and the admin script compress.py have been updated for ES6. The unused fallback of globals.django in jquery.init.js was removed. It is always included before jsi18n-mocks.test.js and it always sets the global value. | |||
| 2020-03-27 | Fixed #31404 -- Changed selector-chosen's multiple attribute to HTML5 ↵ | zriv | |
| boolean syntax. | |||
| 2020-03-23 | Refs #31032 -- Removed unsupported browsers workarounds and comments in ↵ | Jon Dufresne | |
| admin's JavaScript. Since 8b30360322d4de6687e17ab267a856db4e3c78a6, the admin documentation is explicit that only modern evergreen browsers are supported. This allows removing several long standing workarounds for IE and Opera older versions. Since 2013, Opera is based on the Chromium blink engine. | |||
| 2020-03-17 | Removed bundled QUnit in favor of npm package. | Jon Dufresne | |
| 2020-03-17 | Removed event handlers after JavaScript tests complete. | Jon Dufresne | |
| Fixes error "Assertion occurred after test had finished" with newer versions of QUnit. | |||
| 2020-03-16 | Bumped minimum ESLint version to 6.8.0. | Jon Dufresne | |
| 2020-03-09 | Fixed #31349 -- Used :nth-child() CSS pseudo-class to style alternative rows ↵ | Jon Dufresne | |
| in admin. | |||
| 2019-12-30 | Fixed #30819 -- Fixed year determination in admin calendar widget for ↵ | Farhaan Bukhsh | |
| two-digit years. Two-digit years in the range of [00, 68] are in the current century, while [69,99] are in the previous century, according to the Open Group Specification. | |||
| 2019-10-25 | Fixed #29087 -- Added delete buttons for unsaved admin inlines on validation ↵ | Carlton Gibson | |
| error. | |||
| 2019-07-02 | Fixed typos in comments and docs. | Min ho Kim | |
| 2019-06-21 | Bumped minimum ESLint version to 4.18.2. | Markus Holtermann | |
| 2019-03-27 | Removed unused timeparse.js. | Nick Pope | |
| Unused since its introduction in dd5320d1d56ca7603747dd68871e72eee99d9e67. | |||
| 2019-03-27 | Removed unused Date.prototype.getHourMinute(). | Nick Pope | |
| Unused since d2180a6bf3a72bad67bf4897b0ce2d94a6214fc4. | |||
| 2019-03-27 | Removed unused Date.prototype.getHourMinuteSecond(). | Nick Pope | |
| Unused since fa0653cd1d791a8bce835e8992cbeab6fd70d0e7. | |||
| 2018-07-20 | Added test for DateTimeShortcuts.js time zone warning. | Claude Paroz | |
| 2018-06-29 | Fixed #29536 -- Fixed SelectFilter2.js resizing to make boxes have equal height. | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2018-05-10 | Upgraded OpenLayers to 4.6.5 for OpenLayersWidget | Claude Paroz | |
| 2017-12-26 | Refs #28956 -- Removed usage of jQuery's deprecated .selector property in ↵ | Tim Graham | |
| admin JavaScript. | |||
| 2017-10-12 | Fixed #28688 -- Made admin's URLify.js skip removal of English words if ↵ | Sævar Öfjörð Magnússon | |
| non-ASCII chars are present. | |||
| 2017-06-13 | Fixed #28295 -- Made admin's URLify.js trim trailing hyphens. | monotonee | |
| 2017-06-13 | Added JavaScript tests for contrib.admin's URLify.js. | monotonee | |
| 2017-05-27 | Fixed #25006 -- Allowed custom time shortcuts in admin's time picker. | Anton Samarchyan | |
| 2017-05-08 | Refs #27795 -- Stopped converting integer format settings to str in JS/JSON ↵ | Claude Paroz | |
| i18n views Thanks Tim Graham for the review. | |||
| 2017-01-02 | Fixed #25004 -- Updated OpenLayers-based widget to OpenLayers 3 | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2016-12-19 | Fixed qunit tests (coverage still missing). (#7716) | Florian Apolloner | |
| 2016-12-19 | Updated to QUnit 2.0.1. | Tim Graham | |
