From a7a2db83784d04bb618db510676faf359d86ce2e Mon Sep 17 00:00:00 2001 From: Jose Pinto Date: Fri, 15 Mar 2019 11:35:15 -0300 Subject: [PATCH] ok focus y teclado-virtual --- src/js/controller.js | 8 +++++--- src/views/foca-abm-precios-condiciones-item.html | 1 + src/views/foca-abm-precios-condiciones-listado.html | 1 + 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/js/controller.js b/src/js/controller.js index a532ff3..d080d9f 100644 --- a/src/js/controller.js +++ b/src/js/controller.js @@ -5,14 +5,16 @@ angular.module('focaAbmPreciosCondiciones') function($scope, focaAbmPreciosCondicionesService, $location, focaModalService, focaBotoneraLateralService, $timeout) { + $scope.focusSearch = false; + $scope.filters = ''; + $scope.now = new Date(); $timeout(function() { focaBotoneraLateralService.showSalir(true); focaBotoneraLateralService.showPausar(false); focaBotoneraLateralService.showCancelar(false); focaBotoneraLateralService.showGuardar(false); - }); - $scope.filters = ''; - $scope.now = new Date(); + $scope.focusSearch = true; + }, 3000); $scope.editar = function(id) { $location.path('/precio-condicion/' + id); }; diff --git a/src/views/foca-abm-precios-condiciones-item.html b/src/views/foca-abm-precios-condiciones-item.html index 5a2918f..54efb33 100644 --- a/src/views/foca-abm-precios-condiciones-item.html +++ b/src/views/foca-abm-precios-condiciones-item.html @@ -89,6 +89,7 @@ foca-focus="focused == 4" ng-focus="focused = 4" placeholder="Días" + teclado-virtual />