Commit db6173265129ffb034151cd97ed7e8d252ef859c
1 parent
ec55b5e395
Exists in
master
and in
1 other branch
Muestra 'General' en cabecera
Showing
1 changed file
with
12 additions
and
0 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -32,6 +32,13 @@ angular.module('focaAdminSeguimiento') .controller('focaAdminSeguimientoControll |
32 | 32 | $scope.marcadores = []; |
33 | 33 | getSeguimiento(); |
34 | 34 | |
35 | + $timeout(function() { | |
36 | + $scope.$broadcast('addCabecera',{ | |
37 | + label: 'General', | |
38 | + valor: '' | |
39 | + }); | |
40 | + }) | |
41 | + | |
35 | 42 | //SETEO BOTONERA LATERAL |
36 | 43 | focaBotoneraLateralService.showSalir(true); |
37 | 44 | focaBotoneraLateralService.showPausar(false); |
... | ... | @@ -41,6 +48,10 @@ angular.module('focaAdminSeguimiento') .controller('focaAdminSeguimientoControll |
41 | 48 | $scope.idUsuario = 0; |
42 | 49 | getSeguimiento(); |
43 | 50 | $scope.$broadcast('removeCabecera', cabecera); |
51 | + $scope.$broadcast('addCabecera',{ | |
52 | + label: 'General', | |
53 | + valor: '' | |
54 | + }); | |
44 | 55 | }; |
45 | 56 | |
46 | 57 | $scope.individual = function() { |
... | ... | @@ -55,6 +66,7 @@ angular.module('focaAdminSeguimiento') .controller('focaAdminSeguimientoControll |
55 | 66 | if (key === 13) { |
56 | 67 | $scope.idUsuario = $scope.idUsuarioInput; |
57 | 68 | getSeguimiento(); |
69 | + $scope.$broadcast('removeCabecera', 'General'); | |
58 | 70 | $scope.$broadcast('addCabecera', { |
59 | 71 | label: cabecera, |
60 | 72 | valor: $scope.idUsuarioInput |