Fixing JSON parsing
This commit is contained in:
@@ -178,7 +178,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function importGTFS() {
|
function importGTFS() {
|
||||||
imported_data = JSON.parse('{{ data }}');
|
stops = JSON.parse('{{ stops }}');
|
||||||
|
routes = JSON.parse('{{ routes }}');
|
||||||
|
timetable = JSON.parse('{{ timetable }}');
|
||||||
|
|
||||||
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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user