zmiany w edycji listy przez usera

This commit is contained in:
Mateusz Gruszczyński committed 2025-08-15 13:01:00 +02:00
1 parent 5256e9d17b
commit 977b8630fb
2 files changed
+35 -12

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
function updateMoveToMonth() {
const year = document.getElementById('move_to_month_year').value;
const month = document.getElementById('move_to_month_month').value;
document.getElementById('move_to_month').value = `${year}-${month}`;
}
document.getElementById('move_to_month_year').addEventListener('change', updateMoveToMonth);
document.getElementById('move_to_month_month').addEventListener('change', updateMoveToMonth);
updateMoveToMonth();