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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

Multiple prototype.js conflict in 2.4rc1


Go to End


1399 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