[ http://jira.magnolia.info/browse/MAGNOLIA-1182?page=comments#action_12809 ] Philipp Bracher commented on MAGNOLIA-1182: -------------------------------------------
It is not the only problem we have with prototype.js. This library introduces its own inheritance mechanism and adds fields to the main class Object! this breaks code where you use foreach(name in obj). This was the reason why it was not used in the admincentral. In pages this should not be a problem for now. > function $() name collision in javascript with prototype.js using IE > -------------------------------------------------------------------- > > Key: MAGNOLIA-1182 > URL: http://jira.magnolia.info/browse/MAGNOLIA-1182 > Project: Magnolia > Issue Type: Bug > Components: admininterface > Affects Versions: 3.0 RC3 > Environment: Internet Explorer 6/7 (and probably lower versions), > pages that use prototype.js > Reporter: Andy McDowall > Assigned To: Philipp Bracher > Priority: Minor > > The problem reported in issue 794 > (http://jira.magnolia.info/browse/MAGNOLIA-794) still occurs in internet > explorer; > the if(typeof != 'function') does not appear to prevent the re-definition of > the $() function in IE. > A temporary (and hacky) fix (for those affected by this) is to re-declare the > $() function as specified in prototype.js after any <cms:mainBar/> tags. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia.info/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------
