Bugs solved

This commit is contained in:
Juan Ferrer Toribio 2017-10-06 12:59:18 +02:00
parent 66e42d1808
commit 5b2a5901bf
1 changed files with 3 additions and 4 deletions

View File

@ -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;