$scope.EntityTypeChange = function (entityTypeId) {
$scope.entityTypeId = entityTypeId.id;
$scope.EntityTypeName = $filter('filter')($scope.EntityTypes, function (value) {
return value.id === $scope.entityTypeId;
})[0].val;
$scope.GetCustomFieldsByEntityTypeId($scope.entityTypeId);
};
$scope.entityTypeId = entityTypeId.id;
$scope.EntityTypeName = $filter('filter')($scope.EntityTypes, function (value) {
return value.id === $scope.entityTypeId;
})[0].val;
$scope.GetCustomFieldsByEntityTypeId($scope.entityTypeId);
};
No comments:
Post a Comment