From 5b2a5901bf0ae427cabaa9b720a3e231e1cd1198 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Fri, 6 Oct 2017 12:59:18 +0200 Subject: [PATCH] Bugs solved --- src/main.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main.js b/src/main.js index 475caed..82cbe02 100755 --- a/src/main.js +++ b/src/main.js @@ -201,14 +201,13 @@ var App = { }, _onEnterClick: function() { - setTimeout(function() {App.login();}, 0); + this._disableUi(true, _('Loading')); + setTimeout(function() {App._login();}, 0); }, - login: function() { + _login: function() { var clearPassword; - this._disableUi(true, _('Loading')); - try { var user = this.$('user').value; var password = this.$('password').value;