Commit b4d08929ec8214fa4b716c5cc6f53c8a821894a8

Authored by Marcelo Puebla
1 parent 1579628447
Exists in master

Revert "Revert "Agregada cruz para borrar contenido de filtro de busqueda.""

This reverts commit 1579628447ef86138d5ba8ac37b5ecdde6a6e0d9.
src/js/controller.js
... ... @@ -651,5 +651,8 @@ angular.module('focaBusquedaCliente')
651 651 });
652 652 return result;
653 653 }
  654 + $scope.clearInput = function(){
  655 + $scope.filters = '';
  656 + }
654 657 }
655 658 ]);
src/views/foca-busqueda-cliente-modal.html
... ... @@ -37,6 +37,14 @@
37 37 teclado-virtual
38 38 ng-hide="ingreso"
39 39 >
  40 + <button
  41 + ng-show="filters.length >= 1"
  42 + type="button"
  43 + class="clear-input"
  44 + ng-click="clearInput()"
  45 + >
  46 + <i class="fa fa-times"></i>
  47 + </button>
40 48 <div class="input-group-append" ng-hide="ingreso">
41 49 <button
42 50 ladda="searchLoading"