Commit 1c6195624ce0ee7c86059f46697a9046c53f4b87

Authored by gabriel.damasceno
2 parents 063b6016 5a3c6261
Exists in master

Merge branch 'master' of http://ferramentasgo.centralit.com.br:8080/scm/git/cit-grp-tabelas-corp

cit-tabelas-corp-web/src/main/webapp/assets/js/angular/custom/directive/EnderecoUnicoDirective.js
... ... @@ -35,8 +35,6 @@ citApp.directive("componenteEnderecoUnico",
35 35 }],
36 36 link : function($scope, $element, attributes) {
37 37  
38   - $scope.MASK_CEP = "99999-999";
39   -
40 38 DominioRepository.findAllDominio('tipoEndereco').then(function(result) {
41 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 20  
21 21 <div class="row">
22 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 24 </div>
25 25  
26 26 <div class="col-sm-2" style="margin-top: 25px;" ng-disabled="!endereco.cep">
... ...