Skip to content

Commit

Permalink
Merge pull request #12230 from AparnaKarve/bz1388361_fix_validate_con…
Browse files Browse the repository at this point in the history
…dition_on_rhev_db

Make C&U Metrics Database a mandatory field for Validation
  • Loading branch information
mzazrivec authored Oct 27, 2016
2 parents 4dfdada + 644654a commit a01ec8f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ ManageIQ.angular.app.controller('emsCommonFormController', ['$http', '$scope', '
$scope.emsCommonModel.ssh_keypair_password != '' && $scope.angularForm.ssh_keypair_password.$valid)) {
return true;
} else if(($scope.currentTab == "metrics" && $scope.emsCommonModel.emstype == "rhevm") &&
$scope.emsCommonModel.metrics_database_name &&
($scope.emsCommonModel.metrics_hostname != '' && $scope.angularForm.metrics_hostname.$valid) &&
($scope.emsCommonModel.metrics_userid != '' && $scope.angularForm.metrics_userid.$valid &&
$scope.emsCommonModel.metrics_password != '' && $scope.angularForm.metrics_password.$valid &&
Expand Down

0 comments on commit a01ec8f

Please sign in to comment.