WIP: Aureplop/kpsul js refactor #501

Draft
delobell wants to merge 215 commits from aureplop/kpsul_js_refactor into master
Showing only changes of commit 2e3bd5bd7a - Show all commits

View file

@ -187,13 +187,14 @@ class AccountSearch {
var that = this; var that = this;
this._$input.yourlabsAutocomplete({ this._$input.yourlabsAutocomplete({
url: Urls['kfet.account.search.autocomplete'], url: Urls['kfet.account.search.autocomplete'](),
minimumCharacters: 2, minimumCharacters: 2,
id: 'search_autocomplete', id: 'search_autocomplete',
choiceSelector: '.choice', choiceSelector: '.choice',
placeholder: "Chercher un utilisateur K-Fêt", placeholder: "Chercher un utilisateur K-Fêt",
container: that._$results_container, container: that._$results_container,
box: that._$results_container, box: that._$results_container,
fixPosition: function() {},
}); });
return this; return this;