Skip to content

Commit

Permalink
More Safari appeasement
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Feb 6, 2007
1 parent f57367c commit 23b2abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_view/helpers/form_tag_helper.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def submit_tag(value = "Save changes", options = {})
"this.disabled=true", "this.disabled=true",
"this.value='#{disable_with}'", "this.value='#{disable_with}'",
"#{options["onclick"]}", "#{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(";") ].join(";")
end end


Expand Down

0 comments on commit 23b2abe

Please sign in to comment.