Fixing JSON parsing

This commit is contained in:
Johannes Randerath 2024-06-11 21:30:45 +02:00
parent 46f5cd9cf4
commit 61d2463c9d

View File

@ -178,7 +178,10 @@
}
function importGTFS() {
imported_data = JSON.parse('{{ data }}');
stops = JSON.parse('{{ stops }}');
routes = JSON.parse('{{ routes }}');
timetable = JSON.parse('{{ timetable }}');
alert("Import existing GTFS clicked");
// Logic to import existing GTFS would go here
}