Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

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

Multiple prototype.js conflict in 2.4rc1


Reply


1112 Views

Avatar
phawley

Community Member, 21 Posts

21 April 2010 at 9:06am

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