added log message on form submit
Showing
1 changed file
with
2 additions
and
0 deletions
... | @@ -625,6 +625,8 @@ | ... | @@ -625,6 +625,8 @@ |
625 | this.setField(field, value); | 625 | this.setField(field, value); |
626 | } | 626 | } |
627 | if (submit) { | 627 | if (submit) { |
628 | console.log('submitting form to ' + (form.getAttribute('action') || "unknown") | ||
629 | + ', HTTP ' + (form.getAttribute('method').toUpperCase() || "GET")); | ||
628 | form.submit(); | 630 | form.submit(); |
629 | } | 631 | } |
630 | }; | 632 | }; | ... | ... |
-
Please register or sign in to post a comment