Skip to content

Commit

Permalink
remove the checkboxes; they are not really needed now #383
Browse files Browse the repository at this point in the history
  • Loading branch information
jstrachan committed Jul 10, 2013
1 parent 3e8c72f commit d692d16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 0 additions & 8 deletions hawtio-web/src/main/webapp/app/wiki/html/dozerMappings.html
Expand Up @@ -76,20 +76,12 @@
<div class="modal-body">
<table class="">
<tr>
<td>
<input type="checkbox" ng-model="unmappedFieldsAllEnabled" ng-click="toggleUnmappedFieldEnabled()"
title="Include or exclude all of the fields"/>
</td>
<th>From</th>
<th></th>
<th>To</th>
<th>Exclude</th>
</tr>
<tr ng-repeat="unmapped in unmappedFields">
<td>
<input type="checkbox" ng-model="unmapped.enabled" ng-click="onChangeUnmappedFieldEnabled()"
title="Whether to include this field in the mapping rules"/>
</td>
<td>
{{unmapped.name}}
</td>
Expand Down
2 changes: 2 additions & 0 deletions hawtio-web/src/main/webapp/app/wiki/js/dozerMappings.ts
Expand Up @@ -211,6 +211,7 @@ module Wiki {
};


/*
$scope.toggleUnmappedFieldEnabled = () => {
angular.forEach($scope.unmappedFields, (unmappedField) => {
unmappedField.enabled = $scope.unmappedFieldsAllEnabled;
Expand All @@ -224,6 +225,7 @@ module Wiki {
$scope.unmappedFieldsAllEnabled = false;
}
};
*/

$scope.onUnmappedFieldChange = (unmappedField) => {
unmappedField.valid = unmappedField.toField ? true : false;
Expand Down

0 comments on commit d692d16

Please sign in to comment.