Loading images/proyecto3/3Nier Automata.jpeg 0 → 100644 +23.3 KiB Loading image diff... js/subincidencias.js +6 −2 Original line number Diff line number Diff line Loading @@ -7,6 +7,9 @@ function removeInput(){ } var i=0; var botonDelSub = document.getElementById("deleteSub"); botonDelSub.addEventListener("click", removeInput); /*function addInput(event){ event.preventDefault();*/ function addInput(idSprint){ Loading Loading @@ -39,7 +42,7 @@ function addInput(idSprint){ flex.className="flex"; input.appendChild(flex); const invi = document.createElement("input");; var invi = document.createElement("input");; if(!!document.getElementsByName("ning")){ Loading @@ -47,10 +50,11 @@ function addInput(idSprint){ invi.name="ning"; invi.value=i; }else{ invi2=document.getElementsByName("ning") document.removeChild("ning"); invi.type="hidden"; invi.name="ning"; invi.value=i; invi.value=invi2.value; } Loading php/modalEditarInc.php +1 −1 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ if ($res->num_rows > 0) { <input type="text" class="form-control" placeholder="'.$rowverSubInc["tarea"].'" name="nombreSub'.$x.'"> <label>Descripcion</label> <textarea cols="45" rows="10" class="form-control" name="descrip'.$x.'"></textarea> <a class="delete">×</a> <a class="delete" id="deleteSub">×</a> <input type="hidden" name="ning" value="'.$x.'"> </div>'; $x++; Loading php/verSprint.php +2 −1 Original line number Diff line number Diff line Loading @@ -71,7 +71,8 @@ if ($res->num_rows > 0) { <div class="row punteado rounded-3 contenido"> <div class="col margin0">'; $sqlVerInci = "SELECT * FROM `tarea` WHERE sprint_idsprint = '".$row["idsprint"]."' AND tarea_idtarea IS NULL"; AND tarea_idtarea IS NULL AND ta_spr_idproyect = $proyecto"; //echo $sqlVerInci; $resVerInc = $con->query($sqlVerInci); if ($resVerInc->num_rows > 0) { while ($rowVerInc = $resVerInc->fetch_assoc()){ Loading Loading
js/subincidencias.js +6 −2 Original line number Diff line number Diff line Loading @@ -7,6 +7,9 @@ function removeInput(){ } var i=0; var botonDelSub = document.getElementById("deleteSub"); botonDelSub.addEventListener("click", removeInput); /*function addInput(event){ event.preventDefault();*/ function addInput(idSprint){ Loading Loading @@ -39,7 +42,7 @@ function addInput(idSprint){ flex.className="flex"; input.appendChild(flex); const invi = document.createElement("input");; var invi = document.createElement("input");; if(!!document.getElementsByName("ning")){ Loading @@ -47,10 +50,11 @@ function addInput(idSprint){ invi.name="ning"; invi.value=i; }else{ invi2=document.getElementsByName("ning") document.removeChild("ning"); invi.type="hidden"; invi.name="ning"; invi.value=i; invi.value=invi2.value; } Loading
php/modalEditarInc.php +1 −1 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ if ($res->num_rows > 0) { <input type="text" class="form-control" placeholder="'.$rowverSubInc["tarea"].'" name="nombreSub'.$x.'"> <label>Descripcion</label> <textarea cols="45" rows="10" class="form-control" name="descrip'.$x.'"></textarea> <a class="delete">×</a> <a class="delete" id="deleteSub">×</a> <input type="hidden" name="ning" value="'.$x.'"> </div>'; $x++; Loading
php/verSprint.php +2 −1 Original line number Diff line number Diff line Loading @@ -71,7 +71,8 @@ if ($res->num_rows > 0) { <div class="row punteado rounded-3 contenido"> <div class="col margin0">'; $sqlVerInci = "SELECT * FROM `tarea` WHERE sprint_idsprint = '".$row["idsprint"]."' AND tarea_idtarea IS NULL"; AND tarea_idtarea IS NULL AND ta_spr_idproyect = $proyecto"; //echo $sqlVerInci; $resVerInc = $con->query($sqlVerInci); if ($resVerInc->num_rows > 0) { while ($rowVerInc = $resVerInc->fetch_assoc()){ Loading