improve_censoring_speed #1

Merged
marcel merged 3 commits from improve_censoring_speed into main 2025-10-23 13:43:41 +00:00
Showing only changes of commit 5c6a8dfba2 - Show all commits

View File

@@ -21,7 +21,7 @@ function autocomplete(inp, type) {
i, i,
apirq, apirq,
iname, iname,
val = this.value; val = inp.value;
/*close any already open lists of autocompleted values*/ /*close any already open lists of autocompleted values*/
closeAllLists(); closeAllLists();
if (!val && type === "lva" && pid === null) { if (!val && type === "lva" && pid === null) {
@@ -56,7 +56,7 @@ function autocomplete(inp, type) {
a.setAttribute("id", this.id + "autocomplete-list"); a.setAttribute("id", this.id + "autocomplete-list");
a.setAttribute("class", "autocomplete-items"); a.setAttribute("class", "autocomplete-items");
/*append the DIV element as a child of the autocomplete container:*/ /*append the DIV element as a child of the autocomplete container:*/
this.parentNode.appendChild(a); inp.parentNode.appendChild(a);
/*for each item in the array...*/ /*for each item in the array...*/
//await response; //await response;
if (response.ok) { if (response.ok) {