zmiany w edycji listy przez usera
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
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}`;
|
||||
const hiddenInput = document.getElementById('move_to_month');
|
||||
hiddenInput.value = `${year}-${month}`;
|
||||
}
|
||||
|
||||
document.getElementById('move_to_month_year').addEventListener('change', updateMoveToMonth);
|
||||
|
Reference in New Issue
Block a user