Skip to content
Snippets Groups Projects
Commit a2e45a8a authored by mattwire's avatar mattwire
Browse files

Add debug warning if we can't find a submit button on the form

parent 936d329c
Branches
Tags
1 merge request!1246.5
......@@ -606,6 +606,9 @@
else {
submit = form.querySelectorAll('[type="submit"].validate');
}
if (submit.length === 0) {
debugging('No submit button found!');
}
return submit;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment