Commit 3c9f32206938bb8f3d9b9041c8091bff71acee40
1 parent
9d4fb6c477
Exists in
master
and in
1 other branch
Agregada directiva esc-key a input de editar precio.
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
src/views/remito.html
... | ... | @@ -90,8 +90,9 @@ |
90 | 90 | foca-tipo-input |
91 | 91 | min="1" |
92 | 92 | step="0.0001" |
93 | - foca-focus="tmpPrecio" | |
94 | - ng-keypress="editarArticulo($event.keyCode, articulo, tmpCantidad, tmpPrecio);" | |
93 | + foca-focus="articulo.editPrecio" | |
94 | + ng-keypress="editarArticulo($event.keyCode, articulo, tmpCantidad, tmpPrecio);" | |
95 | + esc-key="cancelarEditar(articulo)" | |
95 | 96 | ng-focus="selectFocus($event); |
96 | 97 | tmpCantidad = articulo.cantidad; |
97 | 98 | tmpPrecio = articulo.precio" |