refs #4974 Minor changes
This commit is contained in:
parent
12caa4014a
commit
e59bd6365d
11
src/main.js
11
src/main.js
|
@ -284,11 +284,16 @@ var App = {
|
|||
this.$('datasource').className = null;
|
||||
};
|
||||
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.$('user').focus();
|
||||
},
|
||||
cleanCache: function() {
|
||||
|
|
Loading…
Reference in New Issue