This worked for me (using prototype 1.6.1):
Ajax.Request.prototype._initialize = Ajax.Request.prototype.initialize;
Ajax.Request.prototype.initialize = function ($super, url, options) {
return this._initialize.bind(this).delay(2, $super, url, options);
};
I believe that the method signature for Ajax.Request.prototype.initializediffers from the old prototype version (i.e. without the $ super parameter).
This will update it for all Ajax requests.
source
share