Commit d1c5ffd1d81fd29155ed576fa3ac22545beab153
1 parent
15d5aef9
Exists in
master
Correção do cadastro database
Showing
2 changed files
with
1 additions
and
2 deletions
Show diff stats
cit-esi-web/src/main/webapp/assets/js/angular/custom/controller/DatabaseController.js
... | ... | @@ -83,7 +83,6 @@ citApp.controller('DatabaseController', ["$scope", "DatabaseRepository", "DataTy |
83 | 83 | |
84 | 84 | DatabaseRepository.get(database.id).then(function(result) { |
85 | 85 | $scope.domainChecked = null; |
86 | - $scope.domain = null; | |
87 | 86 | $scope.database = result.originalElement; |
88 | 87 | $scope.edit = edit; |
89 | 88 | ... | ... |
cit-esi-web/src/main/webapp/html/database/databaseEdit.html
... | ... | @@ -91,7 +91,7 @@ |
91 | 91 | <tbody> |
92 | 92 | <tr ng-repeat="databaseDomain in database.types" > |
93 | 93 | <td class="text-center vertical-middle"> |
94 | - <input type="radio" name="domainChecked" ng-value="domain" ng-disabled="!edit" | |
94 | + <input type="radio" name="domainChecked" ng-value="databaseDomain" ng-disabled="!edit" | |
95 | 95 | ng-model="domainChecked" ng-click="checkDomain($index, databaseDomain)" /> |
96 | 96 | </td> |
97 | 97 | <td class="vertical-middle"> | ... | ... |