summaryrefslogtreecommitdiff
path: root/map.js
diff options
context:
space:
mode:
authorChristian Pointner <equinox@ffgraz.net>2008-12-07 19:45:14 +0000
committerChristian Pointner <equinox@ffgraz.net>2008-12-07 19:45:14 +0000
commit5a68aadcece2179fbcd80029674a4a42fcc81ef8 (patch)
tree2189dfce7d64e537b788a021c1aa9cb388812010 /map.js
parent9ca59f0e400038b2d33e06ea255334b4f71c7600 (diff)
added processing message to relaodcontrol
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";
}