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