summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-03-01 10:46:32 +0100
committerAndrew Dolgov <[email protected]>2007-03-01 10:46:32 +0100
commit64f6db9051ea25293077e0ebcb61f90ec7eb72e9 (patch)
tree6770669f4c2b047cfdc3a292444f487c5a19ebb1
parent01a87dff9efecf9070b652f59a52e55bd2db1906 (diff)
logoutUser: add notify
-rw-r--r--functions.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/functions.js b/functions.js
index 88d750b6b..f4c8ee1c1 100644
--- a/functions.js
+++ b/functions.js
@@ -1620,6 +1620,9 @@ function explainError(code) {
function logoutUser() {
try {
if (xmlhttp_ready(xmlhttp_rpc)) {
+
+ notify("Logging out, please wait...");
+
xmlhttp_rpc.open("GET", "backend.php?op=rpc&subop=logout", true);
xmlhttp_rpc.onreadystatechange=logout_callback;
xmlhttp_rpc.send(null);