Safari requires an explicit submit

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 06b11987
......@@ -145,7 +145,7 @@ def submit_tag(value = "Save changes", options = {})
"this.disabled=true",
"this.value='#{disable_with}'",
"#{options["onclick"]}",
"return (this.form.onsubmit ? this.form.onsubmit() : true)",
"return (this.form.onsubmit ? this.form.onsubmit() : this.form.submit())",
].join(";")
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册