refactor refs #5308 Requested changes
This commit is contained in:
parent
cacf8ee958
commit
13489bc713
|
@ -179,7 +179,7 @@ var App = {
|
|||
}
|
||||
this.$('datasource').value = this.dsName;
|
||||
|
||||
if (this.regRead(Conf.regPath, 'autoDeployDevOptions') && this.hasDeveloperMode)
|
||||
if (this.regRead(Conf.regPath, 'autoDisplayDevOptions') && this.hasDeveloperMode)
|
||||
App.openOptions()
|
||||
|
||||
this.refreshDeveloperMode();
|
||||
|
@ -211,17 +211,16 @@ var App = {
|
|||
this.$('password').select();
|
||||
},
|
||||
createODBC: function(path, dsName, driverName, description) {
|
||||
var driverPath = this.getEnv('ProgramFiles') + Conf.driverPath;
|
||||
var params = {
|
||||
Driver: driverPath,
|
||||
Driver: this.getEnv('ProgramFiles') + Conf.driverPath,
|
||||
DESCRIPTION: description,
|
||||
SERVER: Conf.defaultServer,
|
||||
DATABASE: Conf.dbName,
|
||||
SSLCA: this.certFile,
|
||||
SSLMODE: 'VERIFY_IDENTITY',
|
||||
SSLCIPHER: 'AES256-SHA',
|
||||
SSLMODE: 'REQUIRED',
|
||||
AUTO_RECONNECT: 1,
|
||||
NO_PROMPT: 1,
|
||||
NO_BIGINT: 1
|
||||
};
|
||||
|
||||
this.regWrite(path + 'ODBC Data Sources', dsName, driverName);
|
||||
|
|
Loading…
Reference in New Issue