Commit 70c67112 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Support properly HTML5 implicit form submission.

From Chromium 31, pressing enter key to select ListBox page submit the form
through JS (submitFormOnEnter) *and* wrongly on the default button, at the end
following HTML5 behavior (4.10.22.2 Implicit submission).
parent a5f950b3
......@@ -187,6 +187,8 @@ function submitFormOnEnter(event, form, method_name, clear_changed_flag, element
changed = false;\n
}\n
form.submit();\n
event.preventDefault();\n
return false;\n
}\n
}\n
\n
......
2013-12-10 arnaud.fontaine
* Support properly HTML5 implicit form submission.
2012-10-16 yusei
* Improve error handling on Workflow_statusModify. If divergence is solved by other user, then show a nice message.
......@@ -384,4 +387,4 @@
2006-06-15 Vincent
* Initial commit.
* Valid XHTML1.0 Strict + CSS 2.0.
* Valid XHTML1.0 Strict + CSS 2.0.
\ No newline at end of file
1111
\ No newline at end of file
1112
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment