summaryrefslogtreecommitdiff
path: root/js_tests/admin/RelatedObjectLookups.test.js
AgeCommit message (Collapse)Author
13 daysFormatted JavaScript files.Tom Carrick
2025-04-01Fixed #36284, Refs #31170 -- Ensured related lookup popups are closed properly.nessita
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>
2025-02-18Fixed #31170 -- Added change event trigger to dismissRelatedLookupPopup.Кайрат Макым
2025-02-18Refs #31170 -- Added JavaScript tests for RelatedObjectLookups.js.Кайрат Макым
2020-03-23Refs #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-16Bumped minimum ESLint version to 6.8.0.Jon Dufresne
2016-12-19Updated to QUnit 2.0.1.Tim Graham
2016-01-08Refs #25165 -- Removed unnecessary HTML unescaping in admin add/edit popups.Thomas Grainger
Because we now load data into the page via JSON, we don't need to unescape it anymore.
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.