Fixed a bug

This commit is contained in:
Johannes Randerath 2024-06-11 21:33:24 +02:00
parent 61d2463c9d
commit 092cc348d6

View File

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