mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-08-10 07:11:18 +02:00
fix: locked_year cleared on edit — populate edit dialog field
The openEditDialog JS function didn't populate the locked_year input in the edit dialog, and the PHP template didn't pass locked_year as an argument. Any edit to a link (even just changing the name) would clear the locked academic year to NULL. - Pass $linkLockedYear as 5th argument to openEditDialog in the template - Accept and populate edit-locked-year input in the JS handler
This commit is contained in:
@@ -45,3 +45,4 @@
|
||||
- [x] Close TOC (licence/charte/apropos) and Filtres (search.php) <details> by default on mobile
|
||||
- [x] Wider heading scale (h1/h2/h3) for apropos/licence/charte pages: step-5 / step-3 / step-1
|
||||
- [x] Masquer le bloc "Durée" sur la page TFE quand aucune durée n'est encodée (ni pages ni minutes)
|
||||
- [x] Fix: locked_year cleared on edit — edit dialog didn't populate the field, so any edit cleared the locked academic year
|
||||
|
||||
Reference in New Issue
Block a user