Commit f3b8e92f f3b8e92f479161af7376bfc04f770f7a97ae7495 by Nicolas Perriault

added log message on form submit

1 parent 2064ce88
...@@ -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 };
......