mirror of
https://github.com/github/rails.git
synced 2026-02-04 11:15:08 -05:00
Safari requires an explicit submit
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -145,7 +145,7 @@ module ActionView
|
||||
"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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user