stable
Clone or download
Read-only
How to test: - If you modify a simple field (like radio button or int) and then either click on the "Cancel" button, on the top-right cross button or on the modal backdrop, the browser should show a "confirm" pop-up warning that you might lose some changes. - If you cancel the warning, the modal is NOT closed - If you accept the warning, the modal is closed Notes: Not all fields will trigger this warning, because not all fields dispatch a bubbling "change" event. For example, artifact links does not. Modifying these fields to trigger this warning will come later. part of request #32653 Do not lose modifications done in Artifact Modal Change-Id: I7d89d13f1d74cf0dcbc87ed4968b17e40d85e917
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/scripts/lib/artifact-modal/package.json | +1 | −0 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/pnpm-lock.yaml | +3 | −0 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/po/fr_FR.po | +6 | −1 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/po/pt_BR.po | +3 | −0 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/gettext-catalog.ts | +2 | −1 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-controller.js | +19 | −1 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-controller.test.js | +42 | −3 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal.tpl.html | +1 | −0 | Go to diff View file |