Commit 5bd110fb authored by Maël Kervella's avatar Maël Kervella

Notifie l'objet quand on change manuellement sa valeur

parent 8f9a92cf
......@@ -182,6 +182,7 @@ def typeahead_datasets( f_name ) :
def typeahead_updater( f_name ):
return 'function(evt, item) { ' \
'$("#'+hidden_id(f_name)+'").val( item.key ); ' \
'$("#'+hidden_id(f_name)+'").change();' \
'return item; ' \
'}'
......@@ -189,5 +190,6 @@ def typeahead_change( f_name ):
return 'function(evt) { ' \
'if (evt.currentTarget.value === "") {' \
'$("#'+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