refs #4974 Now delete old string values

This commit is contained in:
Guillermo Bonet 2023-01-11 17:17:10 +01:00
parent 0f940e9d19
commit 0184c570a3
1 changed files with 6 additions and 2 deletions

View File

@ -120,11 +120,15 @@ var App = {
Conf.odbcDriver
);
//Delete old strings values
this.regDelete(Conf.regPath + 'configured');
this.regDelete(Conf.regPath + 'remember');
// Datasources creation
this.createDatasources();
// Upload the remote URL
this.regWrite(Conf.regPath, 'remoteURL', Conf.defaultRemoteURL)
this.regWrite(Conf.regPath, 'remoteURL', Conf.defaultRemoteURL);
// Upload the string value to version installed
this.regWrite(Conf.regPath, 'version', Conf.version);
@ -139,7 +143,7 @@ var App = {
var password = this.regRead(Conf.odbcPath + Conf.dsName, 'PWD');
this.$('user').value = this.regRead(Conf.odbcPath + Conf.dsName, 'UID');
this.$('password').value = password
this.$('password').value = password;
// Branch options
this.$('branch').value = this.getBranch();