Overview
Comment: | Fix [4193b38003b8eda662f5c03067f148320986a8bb] Put back the select option to start when nothing has been selected |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA3-256: |
1346abf83fdb9144c680811e00f9a7c7 |
User & Date: | bohwaz on 2021-09-14 22:36:46 |
Other Links: | manifest | tags |
Context
2021-09-14
| ||
22:41 | Fix [5d0f7e9c9b42206046988b61a7deba6f8036d5d4] don't throw an error when a field doesn't exist anymore, just ignore it check-in: 937de7a7cc user: bohwaz tags: trunk, stable | |
22:36 | Fix [4193b38003b8eda662f5c03067f148320986a8bb] Put back the select option to start when nothing has been selected check-in: 1346abf83f user: bohwaz tags: trunk, stable | |
22:26 | Fix Markdown footnotes bug in some rare cases check-in: 06d4888d3d user: bohwaz tags: trunk, stable | |
Changes
Modified src/www/admin/static/scripts/global.js from [b78bac285f] to [0da4b43a86].
︙ | |||
423 424 425 426 427 428 429 430 431 432 433 434 435 436 | 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 | + | var tableActions = document.querySelectorAll('form table tfoot .actions select'); for (var i = 0; i < tableActions.length; i++) { tableActions[i].onchange = function () { if (!this.form.querySelector('table tbody input[type=checkbox]:checked')) { this.selectedIndex = 0; return !window.alert("Aucune ligne sélectionnée !"); } this.form.dispatchEvent(new Event('submit')); this.form.submit(); }; } |
︙ |