#2 Determining isRailsPath failing on IE

closed-accepted
nobody
None
5
2009-02-28
2008-07-09
No

In rico.js at line 38, when path is assigned, IE was stripping of the protocol and domain name of the path. Thus, on line 45 where isRailsPath is assigned, the indexOf("/javascripts") was returning 0, as opposed to some number greater than 0. It would thus fail to recognize that it was indeed coming from a Rails path, setting the resulting directory values incorrectly.

This issue was solved by changing the comparison on the indexOf to >= 0, as opposed to just > 0.

Discussion

  • Matt Brown

    Matt Brown - 2009-02-28
    • status: open --> closed-accepted
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks