8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-25 08:23:46 +00:00

Fix: Récupère une valeur correcte quand la valeur du tt_input a changé

This commit is contained in:
Maël Kervella 2017-10-07 16:51:21 +00:00
parent 7f52651a6c
commit 1c98b68d37

View file

@ -231,7 +231,7 @@ def typeahead_updater( f_name ):
def typeahead_change( f_name ):
return 'function(evt) { ' \
'if (evt.currentTarget.value === "") {' \
'if ($("#'+input_id(f_name)+'").typeahead("val") === "") {' \
'$("#'+hidden_id(f_name)+'").val(""); ' \
'$("#'+hidden_id(f_name)+'").change();' \
'}' \