37,7 → 37,7 |
|
/**------------ Fonctions de gestion des urls d'autocompletion et des fiches ------------------*/ |
function getUrlAutocompletion(baseUrl, requete, format) { |
return baseUrl+"?recherche=etendue&retour.format="+format+"&ns.structure=au&navigation.limite=10&masque="+requete; |
return baseUrl+"?recherche=etendue&retour.format="+format+"&ns.structure=au&navigation.limite=25&masque="+requete; |
} |
|
function getUrlAutocompletionNomsVerna(requete) { |
73,6 → 73,10 |
}); |
} |
|
if(suggestions.length >= 25) { |
suggestions.push("..."); |
} |
|
return suggestions; |
} |
|
85,6 → 89,10 |
}); |
} |
|
if(suggestions.length >= 25) { |
suggestions.push("..."); |
} |
|
return suggestions; |
} |
|
199,6 → 207,10 |
item.label = "<b>"+item.label+"</b>"; |
} |
|
if(item.label == '...') { |
item.label = "<b>"+item.label+"</b>"; |
} |
|
return $( "<li></li>" ) |
.data( "item.autocomplete", item ) |
.append( $( "<a></a>" )[ this.options.html ? "html" : "text" ]( item.label ) ) |