Jump to:

23476 Posts in 18941 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Multiple prototype.js conflict in 2.4rc1

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1040 Views
  • phawley
    Avatar
    Community Member
    21 Posts

    Multiple prototype.js conflict in 2.4rc1 Link to this post

    Hello all. I am running 2.4rc1 for one site and using prototype for some incidental Javascripting. However, it would appear that I'm having conflicts between the older version Prototype which is included at sapphire/thirdparty/prototype/prototype.js and the one I'm using (which is the current release.

    This conflict was detected in a form I have in which I type a value in to the first field and then hit the Tab key to move to the next and the browsers shows a blank page. This was resolved by removing one of the prototype files (removing either one worked).

    This works for my form (albeit in hacky form) but the CMS login has the same behavior, and I don't want to hack up a workaround for this any longer.

    Has anyone seen this, or have a fix in mind?

    Thanks in advance,
    Patrick

    1040 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.