summaryrefslogtreecommitdiff
path: root/map.js
diff options
context:
space:
mode:
Diffstat (limited to 'map.js')
-rw-r--r--map.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/map.js b/map.js
index 499456a..f8f73b9 100644
--- a/map.js
+++ b/map.js
@@ -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";
}