Commit 1c6195624ce0ee7c86059f46697a9046c53f4b87
Exists in
master
Merge branch 'master' of http://ferramentasgo.centralit.com.br:8080/scm/git/cit-grp-tabelas-corp
Showing
2 changed files
with
1 additions
and
3 deletions
Show diff stats
cit-tabelas-corp-web/src/main/webapp/assets/js/angular/custom/directive/EnderecoUnicoDirective.js
@@ -35,8 +35,6 @@ citApp.directive("componenteEnderecoUnico", | @@ -35,8 +35,6 @@ citApp.directive("componenteEnderecoUnico", | ||
35 | }], | 35 | }], |
36 | link : function($scope, $element, attributes) { | 36 | link : function($scope, $element, attributes) { |
37 | 37 | ||
38 | - $scope.MASK_CEP = "99999-999"; | ||
39 | - | ||
40 | DominioRepository.findAllDominio('tipoEndereco').then(function(result) { | 38 | DominioRepository.findAllDominio('tipoEndereco').then(function(result) { |
41 | $scope.dominiosTipoEndereco = result; | 39 | $scope.dominiosTipoEndereco = result; |
42 | }); | 40 | }); |
cit-tabelas-corp-web/src/main/webapp/assets/js/angular/custom/directive/html/enderecoUnico.html
@@ -20,7 +20,7 @@ | @@ -20,7 +20,7 @@ | ||
20 | 20 | ||
21 | <div class="row"> | 21 | <div class="row"> |
22 | <div class='col-sm-2'> | 22 | <div class='col-sm-2'> |
23 | - <label-input ng-type="text" ng-model="endereco.cep" ng-label="CORPORATIVO.LABEL.CEP" ng-mask="MASK_CEP" ng-id="endereco.cep" ng-disabled="disableCep" form="form" ng-obrigatorio="true" /> | 23 | + <label-input ng-type="text" ng-model="endereco.cep" ng-label="CORPORATIVO.LABEL.CEP" ng-mask="99999-999" ng-id="endereco.cep" ng-disabled="disableCep" form="form" ng-obrigatorio="true" /> |
24 | </div> | 24 | </div> |
25 | 25 | ||
26 | <div class="col-sm-2" style="margin-top: 25px;" ng-disabled="!endereco.cep"> | 26 | <div class="col-sm-2" style="margin-top: 25px;" ng-disabled="!endereco.cep"> |