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

@@ -86,12 +86,7 @@ script.
addUser(hit.objectID);
}
$('#user-select').userSearch(
'{{config.ALGOLIA_USER}}',
'{{config.ALGOLIA_PUBLIC_KEY}}',
'{{config.ALGOLIA_INDEX_USERS}}',
shareWithUser
);
$('#user-select').userSearch(shareWithUser);
});
function addUser(userId){
if (!userId || userId.length == 0) {