logoutUser: add notify
This commit is contained in:
parent
01a87dff9e
commit
64f6db9051
|
@ -1620,6 +1620,9 @@ function explainError(code) {
|
||||||
function logoutUser() {
|
function logoutUser() {
|
||||||
try {
|
try {
|
||||||
if (xmlhttp_ready(xmlhttp_rpc)) {
|
if (xmlhttp_ready(xmlhttp_rpc)) {
|
||||||
|
|
||||||
|
notify("Logging out, please wait...");
|
||||||
|
|
||||||
xmlhttp_rpc.open("GET", "backend.php?op=rpc&subop=logout", true);
|
xmlhttp_rpc.open("GET", "backend.php?op=rpc&subop=logout", true);
|
||||||
xmlhttp_rpc.onreadystatechange=logout_callback;
|
xmlhttp_rpc.onreadystatechange=logout_callback;
|
||||||
xmlhttp_rpc.send(null);
|
xmlhttp_rpc.send(null);
|
||||||
|
|
Loading…
Reference in New Issue