Skip to content

Commit

Permalink
Fix bug in static code
Browse files Browse the repository at this point in the history
  • Loading branch information
drbgfc committed Jun 1, 2020
1 parent 3b3840b commit f451cbf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/webapp/static/js/validator_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ angular
value: true
}
];
$scope.selectedValidationType = $scope.validationTypes[0]
$scope.severityLevels = [
{ name: 'INFO' },
{ name: 'WARNING' },
{ name: 'ERROR' }
];
];
$scope.selectedSeverityLevel = $scope.severityLevels[0]
self.validationModel = {
selectedObjective : '',
selectedReferenceFileName : '',
file : '',
selectedValidationType : $scope.validationTypes[0]
selectedSeverityLevel : $scope.severityLevels[0]
file : ''
};
self.toggleMessageType = toggleMessageType;
self.getReferenceFiles = getReferenceFiles;
Expand All @@ -55,8 +55,8 @@ angular
'validationObjective' : $scope.validationModel.selectedObjective.name,
'referenceFileName' : $scope.validationModel.selectedReferenceFileName.name,
'ccdaFile' : file,
'curesUpdate' : $scope.validationModel.selectedValidationType.value,
'severityLevel' : $scope.validationModel.selectedSeverityLevel.name
'severityLevel' : $scope.selectedSeverityLevel.name,
'curesUpdate' : $scope.selectedValidationType.value
}
}).then(
function(resp) {
Expand Down

0 comments on commit f451cbf

Please sign in to comment.