Commit 9850db3bd4eba2dc10fdeeb78eb63c242299821c
1 parent
62a9b914
Exists in
master
[Redmine #5043]Validação aba
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
cit-portal-web/src/main/webapp/assets/js/angular/custom/controller/AppController.js
@@ -39,7 +39,7 @@ citApp.controller('AppController', ['$scope', '$routeParams', '$timeout', '$loca | @@ -39,7 +39,7 @@ citApp.controller('AppController', ['$scope', '$routeParams', '$timeout', '$loca | ||
39 | if(result.valor){ | 39 | if(result.valor){ |
40 | $scope.validarFecharAba = result.valor; | 40 | $scope.validarFecharAba = result.valor; |
41 | }else{ | 41 | }else{ |
42 | - $scope.validarFecharAba = false; | 42 | + $scope.validarFecharAba = 'false'; |
43 | } | 43 | } |
44 | 44 | ||
45 | if($scope.validarFecharAba && $scope.validarFecharAba == 'true'){ | 45 | if($scope.validarFecharAba && $scope.validarFecharAba == 'true'){ |