Zaktualizowano konfigurację FTP oraz dodano daty do wyłączenia w kalendarzu biletów.
This commit is contained in:
@@ -346,6 +346,7 @@ document.addEventListener('onChange', () => {
|
||||
})
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
var dates = [ "19-05-2025", "20-05-2025", "21-05-2025", "22-05-2025", "23-05-2025", "26-05-2025", "27-05-2025", "28-05-2025", "29-05-2025", "30-05-2025", "02-06-2025", "03-06-2025", "04-06-2025", "05-06-2025", "06-06-2025", "09-06-2025", "10-06-2025", "11-06-2025", "12-06-2025", "13-06-2025", "16-06-2025", "17-06-2025", "18-06-2025", "20-06-2025", "23-06-2025", "24-06-2025", "25-06-2025", "26-06-2025", "27-06-2025" ];
|
||||
flatpickr("#flatpickr", {
|
||||
inline: true,
|
||||
dateFormat: "d-m-Y",
|
||||
@@ -353,6 +354,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||
minDate: "today",
|
||||
locale: "pl",
|
||||
theme: "material_blue",
|
||||
disable: dates,
|
||||
onChange: function(selectedDates, dateStr, instance) {
|
||||
document.getElementById('dateForm').submit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user