diff options
Diffstat (limited to 'map.js')
-rw-r--r-- | map.js | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -108,6 +108,7 @@ function onData(data, responseCode) { reloadcon.finished(); return alert("Fehler: Konnte die Daten nicht laden!\n(Server Antwort-Code: " + responseCode + ")"); } + reloadcon.loaded(); xmlData = GXml.parse(data); for(var loc in overlays["locations"]) { @@ -397,6 +398,10 @@ ReloadControl.prototype.started = function() { btnText.data = "wird geladen..."; } +ReloadControl.prototype.loaded = function() { + btnText.data = "wird verarbeitet..."; +} + ReloadControl.prototype.finished = function() { btnText.data = "Daten neu laden"; } |