diff options
Diffstat (limited to 'actionpack/lib/action_view/helpers/javascripts/prototype.js')
-rw-r--r-- | actionpack/lib/action_view/helpers/javascripts/prototype.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/javascripts/prototype.js b/actionpack/lib/action_view/helpers/javascripts/prototype.js index d71e878876..9790d3b689 100644 --- a/actionpack/lib/action_view/helpers/javascripts/prototype.js +++ b/actionpack/lib/action_view/helpers/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) { } |