Commit 109f70bc by Luciano Barletta

merge issues solved

1 parent 3017a28d
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* Armado de formulario * Armado de formulario
*/ */
function removeField(b){ function removeField(b){
while(b.getAttribute("name") == "Field") b = b.parentElement; while(b.getAttribute("name") != "Field") b = b.parentElement;
if(b.nodeElement == "body") return; if(b.nodeElement == "body") return;
b.parentElement.removeChild(b); b.parentElement.removeChild(b);
} }
...@@ -19,7 +19,7 @@ function addField(b){ ...@@ -19,7 +19,7 @@ function addField(b){
} }
function removeTab(b){ function removeTab(b){
while(b.getAttribute("name") == "Tab") b = b.parentElement; while(b.getAttribute("name") != "Tab") b = b.parentElement;
if(b.nodeElement == "body") return; if(b.nodeElement == "body") return;
b.parentElement.removeChild(b); b.parentElement.removeChild(b);
} }
......
<html lang="en"> <html lang="en">
<head> <head>
<script src="./Scripts/construct.js"></script> <script src="{{url_for('static',filename='Scripts/construct.js')}}"></script>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge"> <meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="./Style/Templates.css"> <link rel="stylesheet" href="{{url_for('static',filename='Style/Templates.css')}}">
<link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet">
<title>Generador de Formularios</title> <title>Generador de Formularios</title>
</head> </head>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!