refs #4974 Now delete old string values
This commit is contained in:
parent
0f940e9d19
commit
0184c570a3
|
@ -120,11 +120,15 @@ var App = {
|
||||||
Conf.odbcDriver
|
Conf.odbcDriver
|
||||||
);
|
);
|
||||||
|
|
||||||
|
//Delete old strings values
|
||||||
|
this.regDelete(Conf.regPath + 'configured');
|
||||||
|
this.regDelete(Conf.regPath + 'remember');
|
||||||
|
|
||||||
// Datasources creation
|
// Datasources creation
|
||||||
this.createDatasources();
|
this.createDatasources();
|
||||||
|
|
||||||
// Upload the remote URL
|
// 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
|
// Upload the string value to version installed
|
||||||
this.regWrite(Conf.regPath, 'version', Conf.version);
|
this.regWrite(Conf.regPath, 'version', Conf.version);
|
||||||
|
@ -139,7 +143,7 @@ var App = {
|
||||||
var password = this.regRead(Conf.odbcPath + Conf.dsName, 'PWD');
|
var password = this.regRead(Conf.odbcPath + Conf.dsName, 'PWD');
|
||||||
|
|
||||||
this.$('user').value = this.regRead(Conf.odbcPath + Conf.dsName, 'UID');
|
this.$('user').value = this.regRead(Conf.odbcPath + Conf.dsName, 'UID');
|
||||||
this.$('password').value = password
|
this.$('password').value = password;
|
||||||
|
|
||||||
// Branch options
|
// Branch options
|
||||||
this.$('branch').value = this.getBranch();
|
this.$('branch').value = this.getBranch();
|
||||||
|
|
Loading…
Reference in New Issue