From e40b4a34da74708bc8c6af994f133360f048b3e8 Mon Sep 17 00:00:00 2001 From: Luigi Date: Mon, 6 May 2019 17:08:42 -0300 Subject: [PATCH] Eliminacion de codigo comentado --- src/js/controller.js | 34 ---------------------------------- 1 file changed, 34 deletions(-) diff --git a/src/js/controller.js b/src/js/controller.js index 15cc3c3..fe50a6c 100644 --- a/src/js/controller.js +++ b/src/js/controller.js @@ -210,39 +210,5 @@ angular.module('focaAbmChofer') if (!chofer.id) { chofer.id = 0; } $location.path('/chofer/' + chofer.id + '/' + chofer.idTransportista); } - - /*$timeout(function() {getLSChofer();}); - - function setearChofer(chofer) { - $scope.chofer = chofer; - $scope.$broadcast('addCabecera', { - label: 'Transportista:', - valor: $filter('rellenarDigitos')(chofer.idTransportista.chofer, 2) + ' - ' - }); - } - - function getLSChofer() { - var chofer = JSON.parse($localStorage.chofer || null); - - if (chofer) { - setearChofer(chofer); - delete $localStorage.chofer; - } - } - - $scope.$watch('chofer', function(newValue) { - focaBotoneraLateralService.setPausarData({ - label: 'chofer', - val: { - dni: newValue.dni, - idTransportista: newValue.idTransportista, - nombre: newValue.nombre, - telefono: newValue.telefono, - idTipoDocumento: newValue.idTipoDocumento, - id: newValue.id - } - }); - }, true);*/ - } ]); -- 1.9.1