aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-03-22 00:02:53 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-03-22 00:02:53 +0000
commit7bba658200dec66944109e87e4908303b3b5b795 (patch)
treea740446b9a1a7bf0469fdf0e76440c0e2d55a011 /railties
parent0cb18335d9108c0c2d7796257446ad3741661939 (diff)
downloadrails-7bba658200dec66944109e87e4908303b3b5b795.tar.gz
rails-7bba658200dec66944109e87e4908303b3b5b795.tar.bz2
rails-7bba658200dec66944109e87e4908303b3b5b795.zip
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
Diffstat (limited to 'railties')
-rw-r--r--railties/html/javascripts/prototype.js2
1 files changed, 1 insertions, 1 deletions
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) {
}