From 5a68aadcece2179fbcd80029674a4a42fcc81ef8 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 7 Dec 2008 19:45:14 +0000 Subject: added processing message to relaodcontrol --- map.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'map.js') 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"; } -- cgit v1.2.1