Add spinner to login page

This commit is contained in:
Michael Mikovsky
2025-12-01 09:03:17 -07:00
parent 22650e5668
commit b321528fcd
3 changed files with 39 additions and 25 deletions
+2
View File
@@ -37,6 +37,8 @@ function startHttpRequest(callback) {
if (xmlHttp.readyState !== 4) return;
if (xmlHttp.status == 200) callback(true, xmlHttp.responseText);
else if (xmlHttp.status == 401) callback(false, "Unauthorized");
else if (xmlHttp.status == 500) callback(false, "Internal Server Error");
else callback(false, xmlHttp.responseText);
};
return xmlHttp;