Commit 8f9a92cf authored by Maël Kervella's avatar Maël Kervella

Fix : Il y a pas forcément nb suggestions

parent 0cb784fc
......@@ -169,7 +169,7 @@ def typeahead_datasets( f_name ) :
'if (q === "") {' \
'var nb = 10;' \
'var first = [] ;' \
'for ( var i = 0 ; i < nb ; i++ ) {' \
'for ( var i=0 ; i<nb && i<choices.length; i++ ) {' \
'first.push(choices[i].value);' \
'}' \
'sync(engine.get(first));' \
......
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