Commit 32d07335b0381b3f4f670ec5a3053a8d2a50a8a2

Authored by Marcelo Puebla
1 parent ae792d6f27
Exists in master and in 1 other branch develop

Agregada cruz para borrar texto en input de busqueda.

src/js/controllerModal.js
... ... @@ -197,5 +197,9 @@ angular.module('focaModal')
197 197 }
198 198 }
199 199 $scope.busquedaPress(13);
  200 +
  201 + $scope.clearInput = function(){
  202 + $scope.filters = '';
  203 + };
200 204 }]
201 205 );
src/views/foca-modal.html
... ... @@ -18,6 +18,14 @@
18 18 ng-focus="selectedEntidad = -1"
19 19 teclado-virtual
20 20 >
  21 + <button
  22 + ng-show="filters.length >= 1"
  23 + type="button"
  24 + class="clear-input"
  25 + ng-click="clearInput()"
  26 + >
  27 + <i class="fa fa-times"></i>
  28 + </button>
21 29 <div class="input-group-append">
22 30 <button
23 31 ladda="searchLoading"