Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 190 → Rev 191

/trunk/presentations/scripts/recherche.js
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 ) )