forked from DGNum/gestioCOF
Merge branch 'Aufinal/fix_7_autocomplete' into 'master'
Fix autocomplete Surcharge la fonction `fixPosition()` pour l'empêcher de mettre les suggestions uniquement en dessous du champ de texte See merge request !56
This commit is contained in:
commit
968a7d58c5
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
|||
<h2>Inscription d'un nouveau membre</h2>
|
||||
<input type="text" name="q" id="search_autocomplete" spellcheck="false" />
|
||||
<div id="form-placeholder"></div>
|
||||
<span class="yourlabs-autocomplete"></span>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$('input#search_autocomplete').yourlabsAutocomplete({
|
||||
|
@ -18,6 +19,9 @@
|
|||
id: 'search_autocomplete',
|
||||
choiceSelector: 'li:has(a)',
|
||||
placeholder: "Chercher un utilisateur par nom, prénom ou identifiant clipper",
|
||||
container: $("#main-content"),
|
||||
box: $(".yourlabs-autocomplete"),
|
||||
fixPosition: function() {},
|
||||
});
|
||||
$('input#search_autocomplete').bind(
|
||||
'selectChoice',
|
||||
|
|
Loading…
Reference in a new issue