Posted by Christoph Sturm
on 25.12.2006 21:28
hey guys!

If I use rico 1.1.2 (or older) together with prototype 1.5.0-rc2 on 
firefox, all ajax requests stop working. (tested with firefox 2.0 and 
3.0 alpha).

Anything i can do to fix that?

thanks
 chris
Posted by Lucas Persona
on 05.01.2007 17:06
Chris,

There is a 'patch' that might work.
Change the prototype.js (or ajax.js file from prototype) from:

    for (var name in headers)
      this.transport.setRequestHeader(name, headers[name]);

to:
    for (var name in headers)
      if (typeof headers[name] != 'function')
        this.transport.setRequestHeader(name, headers[name]);

Hope it helps.
Regards,
Lucas Persona
Posted by Aaron Freeman
on 06.01.2007 03:56
You the man!  This thread just saved my butt tonight as I want to use 
Rico but I have a dependency on another library that uses prototype 
1.5.0.  And the suggested fix worked great.

-a