Allow SSL cert for the database to be configured
This change adds a field for the SSL cert for the database in the setup tool. Fixes #89
This commit is contained in:
parent
4ec2143d47
commit
bb07d0965f
8 changed files with 45 additions and 12 deletions
|
@ -591,13 +591,18 @@ angular.module("core-config-setup", ['angularFileUpload'])
|
|||
transclude: false,
|
||||
restrict: 'C',
|
||||
scope: {
|
||||
'filename': '@filename'
|
||||
'filename': '@filename',
|
||||
'skipCheckFile': '@skipCheckFile',
|
||||
'hasFile': '=hasFile'
|
||||
},
|
||||
controller: function($scope, $element, Restangular, $upload) {
|
||||
$scope.hasFile = false;
|
||||
|
||||
$scope.onFileSelect = function(files) {
|
||||
if (files.length < 1) { return; }
|
||||
if (files.length < 1) {
|
||||
$scope.hasFile = false;
|
||||
return;
|
||||
}
|
||||
|
||||
$scope.uploadProgress = 0;
|
||||
$scope.upload = $upload.upload({
|
||||
|
@ -623,7 +628,7 @@ angular.module("core-config-setup", ['angularFileUpload'])
|
|||
});
|
||||
};
|
||||
|
||||
if ($scope.filename) {
|
||||
if ($scope.filename && $scope.skipCheckFile != "true") {
|
||||
loadStatus($scope.filename);
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue