diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2019-03-10 09:06:35 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2019-03-10 09:06:35 +0200 |
| commit | abc70316f80a9cb05b320828051bb7dcbfeaad1b (patch) | |
| tree | a334c1cc23b307710f6338523e5c20fb09017665 /Software/Visual_Studio/Web/Tango.MachineService/Scripts | |
| parent | cbdd79778764ce38017790e1e1f9316e52ec8104 (diff) | |
| parent | 7256fe1c07cf5ecbe485c3cdac238b88dfc2cd1d (diff) | |
| download | Tango-abc70316f80a9cb05b320828051bb7dcbfeaad1b.tar.gz Tango-abc70316f80a9cb05b320828051bb7dcbfeaad1b.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/Web/Tango.MachineService/Scripts')
| -rw-r--r-- | Software/Visual_Studio/Web/Tango.MachineService/Scripts/Account/Login.js | 8 |
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); }, }); |
