aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Web/Tango.MachineService/Scripts
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Web/Tango.MachineService/Scripts')
-rw-r--r--Software/Visual_Studio/Web/Tango.MachineService/Scripts/Account/Login.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Web/Tango.MachineService/Scripts/Account/Login.js b/Software/Visual_Studio/Web/Tango.MachineService/Scripts/Account/Login.js
index fbb21c935..3354a5423 100644
--- a/Software/Visual_Studio/Web/Tango.MachineService/Scripts/Account/Login.js
+++ b/Software/Visual_Studio/Web/Tango.MachineService/Scripts/Account/Login.js
@@ -14,6 +14,10 @@
document.getElementById("go").className = "";
document.getElementById("go").value = "Initializing...";
+ $('#accesspanel').css("cursor", "wait");
+ $("#go").attr("disabled", true);
+ $('#go').css("cursor", "wait");
+
$.ajax({
type: "POST",
url: "Login",
@@ -34,6 +38,10 @@
document.getElementById("go").className = "";
document.getElementById("go").value = "Authorize";
+ $('#accesspanel').css("cursor", "auto");
+ $("#go").attr("disabled", false);
+ $('#go').css("cursor", "auto");
+
}, 1500);
},
});