From 7bba658200dec66944109e87e4908303b3b5b795 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 22 Mar 2005 00:02:53 +0000 Subject: Applied the Safari fix on both prototype.js files git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@971 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/html/javascripts/prototype.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties') diff --git a/railties/html/javascripts/prototype.js b/railties/html/javascripts/prototype.js index d71e878876..9790d3b689 100644 --- a/railties/html/javascripts/prototype.js +++ b/railties/html/javascripts/prototype.js @@ -154,7 +154,7 @@ Ajax.Request.prototype = (new Ajax.Base()).extend({ 'application/x-www-form-urlencoded'); } - this.transport.send(this.options.parameters); + this.transport.send(this.options.method == 'post' ? this.options.parameters + '&_=' : null); } catch (e) { } -- cgit v1.2.3