Commit feb00046 authored by Maël Kervella's avatar Maël Kervella

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

parent 80c37ed5
......@@ -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();' \
'}' \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment