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:
parent
0cb18335d9
commit
7bba658200
1 changed files with 1 additions and 1 deletions
2
railties/html/javascripts/prototype.js
vendored
2
railties/html/javascripts/prototype.js
vendored
|
@ -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) {
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue