fix sending form on submit,
This commit is contained in:
parent
8460673abf
commit
99d276c02b
|
|
@ -96,6 +96,7 @@
|
|||
|
||||
|
||||
function add(event){
|
||||
|
||||
let prep_protocol = {
|
||||
"name" : document.getElementById("name").value,
|
||||
"Sample_Size" : document.getElementById("Sample_Size").value,
|
||||
|
|
@ -115,8 +116,6 @@
|
|||
// Don't forget to handle errors!
|
||||
};
|
||||
event.preventDefault();
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue