diff options
author | Christian Pointner <equinox@ffgraz.net> | 2008-12-07 19:45:14 +0000 |
---|---|---|
committer | Christian Pointner <equinox@ffgraz.net> | 2008-12-07 19:45:14 +0000 |
commit | 5a68aadcece2179fbcd80029674a4a42fcc81ef8 (patch) | |
tree | 2189dfce7d64e537b788a021c1aa9cb388812010 /map.js | |
parent | 9ca59f0e400038b2d33e06ea255334b4f71c7600 (diff) |
added processing message to relaodcontrol
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"; } |