Permalink
Browse files

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
  • Loading branch information...
1 parent 0cb1833 commit 7bba658200dec66944109e87e4908303b3b5b795 @dhh dhh committed Mar 22, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/html/javascripts/prototype.js
View
2 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) {
}

0 comments on commit 7bba658

Please sign in to comment.