]> git.wh0rd.org Git - tt-rss.git/commitdiff
logoutUser: add notify
authorAndrew Dolgov <fox@bah.spb.su>
Thu, 1 Mar 2007 09:46:32 +0000 (10:46 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Thu, 1 Mar 2007 09:46:32 +0000 (10:46 +0100)
functions.js

index 88d750b6bd46a0ddd50beb475b59ffa21e99fc6f..f4c8ee1c18fd87fa6665f4a73e755bfb52678267 100644 (file)
@@ -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);