diff --git a/oxTrust/server/src/main/webapp/configuration/updateConfiguration.xhtml b/oxTrust/server/src/main/webapp/configuration/updateConfiguration.xhtml index b366aee9..3b8da0fd 100644 --- a/oxTrust/server/src/main/webapp/configuration/updateConfiguration.xhtml +++ b/oxTrust/server/src/main/webapp/configuration/updateConfiguration.xhtml @@ -66,6 +66,9 @@
+ +
2){ + if (e.value != "") { + var elem = activeElement[0].querySelectorAll("[data-schemaid*=" + e.value + " i]"); + + if (elem[i] != undefined) { + + if (oldSearch == e.value) { + elem[i].scrollIntoView(); + } else { + i = 0; + elem[i].scrollIntoView(); + } + i = i + 1; + oldSearch = e.value; + } else { + e.scrollIntoView(); + i=0; + } + } + }else{ + alert("Please enter more than 3 letters."); + } + }