diff --git a/resources/views/evento/submeterTrabalho.blade.php b/resources/views/evento/submeterTrabalho.blade.php index 4f150aa9088d5801b05593fbc47eebe500b73716..5fc6c71fd3d4cc48364e372d47b3b5e4a1ceff16 100644 --- a/resources/views/evento/submeterTrabalho.blade.php +++ b/resources/views/evento/submeterTrabalho.blade.php @@ -643,7 +643,7 @@ var countParticipante = document.getElementById('countParticipante'); if (countParticipante.value < limiteMaxParticipantes) { e.preventDefault(); - linha = montarLinhaInput(); + linha = montarLinhaInput(parseInt(countParticipante.value) + 1); $('#participantes').append(linha); setParticipanteDiv(parseInt(countParticipante.value) + 1); @@ -792,7 +792,7 @@ // } // } - function montarLinhaInput() { + function montarLinhaInput(valor) { return `