mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-04 17:06:27 +00:00
Fix: Récupère une valeur correcte quand la valeur du tt_input a changé
This commit is contained in:
parent
80c37ed561
commit
feb00046a5
1 changed files with 1 additions and 1 deletions
|
@ -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();' \
|
||||
'}' \
|
||||
|
|
Loading…
Reference in a new issue