Commit 2ceffaa9 authored by Arnaud Fontaine's avatar Arnaud Fontaine Committed by Yusei Tahara

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).

Conflicts:
	product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
	product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
parent 86fc5cb4
......@@ -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.
2013-6-20 yusei
* Fix erp5.js to keep it compatible with jquery 1.4. .prop() is available after jquery 1.6.
......@@ -387,4 +390,4 @@
2006-06-15 Vincent
* Initial commit.
* Valid XHTML1.0 Strict + CSS 2.0.
\ No newline at end of file
* Valid XHTML1.0 Strict + CSS 2.0.
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