Fixing JSON parsing
This commit is contained in:
parent
46f5cd9cf4
commit
61d2463c9d
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user