mirror of
https://github.com/github/rails.git
synced 2026-01-29 00:08:15 -05:00
More Safari appeasement
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6137 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() : this.form.submit())",
|
||||
"return (this.form.onsubmit ? (this.form.onsubmit() ? this.form.submit() : false) : this.form.submit())",
|
||||
].join(";")
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user