mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-09 03:16:25 +00:00
Fix : Il y a pas forcément nb suggestions
This commit is contained in:
parent
0cb784fcf1
commit
8f9a92cf2c
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ def typeahead_datasets( f_name ) :
|
||||||
'if (q === "") {' \
|
'if (q === "") {' \
|
||||||
'var nb = 10;' \
|
'var nb = 10;' \
|
||||||
'var first = [] ;' \
|
'var first = [] ;' \
|
||||||
'for ( var i = 0 ; i < nb ; i++ ) {' \
|
'for ( var i=0 ; i<nb && i<choices.length; i++ ) {' \
|
||||||
'first.push(choices[i].value);' \
|
'first.push(choices[i].value);' \
|
||||||
'}' \
|
'}' \
|
||||||
'sync(engine.get(first));' \
|
'sync(engine.get(first));' \
|
||||||
|
|
Loading…
Reference in a new issue