NIHVIVO-809 Add autocomplete filtering to roles forms
This commit is contained in:
parent
60d50e4d00
commit
701c5ae327
2 changed files with 3 additions and 3 deletions
|
@ -226,11 +226,11 @@ var customForm = {
|
|||
filteredResults = [];
|
||||
$.each(results, function() {
|
||||
if ($.inArray(this.uri, customForm.acFilter) == -1) {
|
||||
console.log("adding " + this.label + " to filtered results");
|
||||
// console.log("adding " + this.label + " to filtered results");
|
||||
filteredResults.push(this);
|
||||
}
|
||||
else {
|
||||
console.log("filtering out " + this.label);
|
||||
// console.log("filtering out " + this.label);
|
||||
}
|
||||
});
|
||||
return filteredResults;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue