1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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
This commit is contained in:
David Heinemeier Hansson 2005-03-22 00:02:53 +00:00
parent 0cb18335d9
commit 7bba658200

View file

@ -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) {
}