From d059f6d6f4de2678555f23a357d69686e595ad29 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Wed, 27 Feb 2019 18:56:38 +0200 Subject: Added machine service downloads site. --- .../Web/Tango.MachineService/Scripts/Account/Login.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Software/Visual_Studio/Web/Tango.MachineService/Scripts') 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); }, }); -- cgit v1.3.1