Made the Ajax request itself also use the &_= trick for Safari

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@968 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2005-03-21 14:44:33 +00:00
parent 34a9ed5e85
commit 32e0138b0b
1 changed files with 1 additions and 1 deletions

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