diff --git a/scripts/haltestellen.js b/scripts/haltestellen.js index 18bb1cb..e8aec21 100644 --- a/scripts/haltestellen.js +++ b/scripts/haltestellen.js @@ -61,6 +61,7 @@ function ajaxCall(dataUrl, outputElement, callback) { // haltestelle object var haltestelle = { + getInfo : function(event) { console.log("getInfo function"); @@ -79,6 +80,7 @@ function ajaxCall(dataUrl, outputElement, callback) { data = data.replace(/\],\[/gi, '#'); data = data.replace(/\(.+?\)/gi, ''); + data = data.replace('ß', 'ss'); data = data.slice(2,-2).split("#"); console.log("parsed data: " + data); @@ -99,11 +101,11 @@ function ajaxCall(dataUrl, outputElement, callback) { // generate table entries for (i = 0; i < dataLength; i++) { htmlOutput += "