8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-23 03:43:12 +00:00

Fix : Il y a pas forcément nb suggestions

This commit is contained in:
Maël Kervella 2017-10-06 00:58:46 +00:00
parent 24a0f35b45
commit 804e1116d0

View file

@ -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));' \