T53161 javascript search stuff almost complete.

This commit is contained in:
2017-11-24 17:47:38 +01:00
parent 1bda98228c
commit 9cd3d97c75
7 changed files with 245 additions and 155 deletions

View File

@@ -1,6 +1,6 @@
(function ( $ ) {
// See organizations/view_embed.pug for example use.
$.fn.userSearch = function(algolia_application_id, algolia_public_key, algolia_index_users, on_selected) {
$.fn.userSearch = function(on_selected) {
var target = this;
this.autocomplete({hint: false}, [