refs #4974 Minor changes

This commit is contained in:
Guillermo Bonet 2023-02-08 18:05:06 +01:00
parent 12caa4014a
commit e59bd6365d
1 changed files with 8 additions and 3 deletions

View File

@ -284,11 +284,16 @@ var App = {
this.$('datasource').className = null; this.$('datasource').className = null;
}; };
var odbcPath = this.getOdbcPath(); var odbcPath = this.getOdbcPath();
this.$('user').value = this.regRead(odbcPath, 'UID')
this.$('password').value = this.regRead(odbcPath, 'PWD') var user = this.regRead(odbcPath, 'UID')
if (user)
this.$('user').value = this.regRead(odbcPath, 'UID')
var password = this.regRead(odbcPath, 'PWD')
if (password)
this.$('password').value = password
this.refreshLogout(); this.refreshLogout();
this.$('user').focus(); this.$('user').focus();
}, },
cleanCache: function() { cleanCache: function() {