"app/git@sites.upe.br:walter.felipe/submeta.git" did not exist on "f9faab3f371e020326b486f34652bb76165f8810"
Commit 6712eb4f authored by Gabriel-31415's avatar Gabriel-31415
Browse files

ajuste

parent 16f4be21
...@@ -450,7 +450,7 @@ ...@@ -450,7 +450,7 @@
buttonMais.addEventListener("click", (e) => { buttonMais.addEventListener("click", (e) => {
// console.log("{{ $edital->numParticipantes }}") // console.log("{{ $edital->numParticipantes }}")
if(parts.children.length - 1 >= "{{ $edital->numParticipantes }}"){ if(parts.children.length >= "{{ $edital->numParticipantes }}"){
alert('Limite de participante.') alert('Limite de participante.')
}else{ }else{
var cln = participante.cloneNode(true); var cln = participante.cloneNode(true);
...@@ -461,7 +461,7 @@ ...@@ -461,7 +461,7 @@
let input = cln.children[i].querySelectorAll('input')[index]; let input = cln.children[i].querySelectorAll('input')[index];
let name = input.getAttributeNode("name").value; let name = input.getAttributeNode("name").value;
input.getAttributeNode("name").value = name + '[' + contador + ']'; input.getAttributeNode("name").value = name + '[' + contador + ']';
input.getAttributeNode("disabled").value = " "; // input.getAttributeNode("disabled").value = " ";
let select = cln.children[i].querySelectorAll('select')[index]; let select = cln.children[i].querySelectorAll('select')[index];
if(select){ if(select){
let selectName = select.getAttributeNode("name").value; let selectName = select.getAttributeNode("name").value;
......
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