Unverified Commit 721ddb4f authored by Antônio Durval's avatar Antônio Durval Committed by GitHub
Browse files

Merge pull request #868 from antonioDurval/master

Correção no filtro para editais que só possuem adHoc
parents 3e782b87 3bfc9e65
...@@ -2275,9 +2275,8 @@ ...@@ -2275,9 +2275,8 @@
//console.log(seletor[0].children[0].text)= //console.log(seletor[0].children[0].text)=
function buscar(input) { function buscar(input) {
if(document.getElementById('exampleFormControlSelect2') != null){
let seletor1 = document.getElementById('exampleFormControlSelect2').children; let seletor1 = document.getElementById('exampleFormControlSelect2').children;
let seletor2 = document.getElementById('exampleFormControlSelect3').children;
for(let i = 0; i < seletor1.length; i++){ for(let i = 0; i < seletor1.length; i++){
let nomeAval1 = seletor1[i].textContent let nomeAval1 = seletor1[i].textContent
...@@ -2288,9 +2287,12 @@ ...@@ -2288,9 +2287,12 @@
}else { }else {
seletor1[i].style.display = "none"; seletor1[i].style.display = "none";
} }
}
} }
let seletor2 = document.getElementById('exampleFormControlSelect3').children;
for(let j = 0; j < seletor2.length; j++){ for(let j = 0; j < seletor2.length; j++){
let nomeAval1 = seletor2[j].textContent let nomeAval1 = seletor2[j].textContent
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment