Skip to content

Commit

Permalink
Fix IE bug with link_to "something", :post => true (closes #3443) [Ju…
Browse files Browse the repository at this point in the history
…stin Palmer]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3453 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Jan 21, 2006
1 parent 6a2104d commit 50e2df4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions actionpack/CHANGELOG
Original file line number Original file line Diff line number Diff line change
@@ -1,5 +1,7 @@
*SVN* *SVN*


* Fix IE bug with link_to "something", :post => true #3443 [Justin Palmer]

* Extract Test::Unit::TestCase test process behavior into an ActionController::TestProcess module. [Sam Stephenson] * Extract Test::Unit::TestCase test process behavior into an ActionController::TestProcess module. [Sam Stephenson]


* Pass along blocks from render_to_string to render. [Sam Stephenson] * Pass along blocks from render_to_string to render. [Sam Stephenson]
Expand Down
2 changes: 1 addition & 1 deletion actionpack/lib/action_view/helpers/url_helper.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def popup_javascript_function(popup)
end end


def post_javascript_function def post_javascript_function
"f = document.createElement('form'); document.body.appendChild(f); f.method = 'POST'; f.action = this.href; f.submit();" "var f = document.createElement('form'); document.body.appendChild(f); f.method = 'POST'; f.action = this.href; f.submit();"
end end


# Processes the _html_options_ hash, converting the boolean # Processes the _html_options_ hash, converting the boolean
Expand Down

0 comments on commit 50e2df4

Please sign in to comment.