summaryrefslogtreecommitdiff
path: root/js_tests/admin/SelectBox.test.js
AgeCommit message (Collapse)Author
12 daysFormatted JavaScript files.Tom Carrick
2026-01-22Fixed #13883 -- Rendered named choice groups with <optgroup> in ↵seanhelvey
FilteredSelectMultiple. This patch adds support for <optgroup>s in FilteredSelectMultiple widgets. When a popup returns a new object, if the source field contains optgroup choices, the optgroup is now also included in the response data. Additionally, this adds error handling for invalid source_model parameters to prevent crashes and display user-friendly error messages instead. Co-authored-by: Michael McLarnon <mmclar@gmail.com>
2020-07-01Fixed #31522 -- Made admin's SelectBox preserve scroll position.tapan gujjar
2020-04-29Refs #31493 -- Changed IIFE to ES6 blocks.Jon Dufresne
2020-04-29Fixed #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-16Bumped minimum ESLint version to 6.8.0.Jon Dufresne
2016-12-19Updated to QUnit 2.0.1.Tim Graham
2015-09-02Added linting for JavaScript tests.Nik Nyby
2015-06-30DEP 0003 -- Added JavaScript unit tests.Trey Hunner
Setup QUnit, added tests, and measured test coverage. Thanks to Nick Sanford for the initial tests.