Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-1182

function $() name collision in javascript with prototype.js using IE

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.3
    • 3.0 RC3
    • admininterface
    • None
    • Internet Explorer 6/7 (and probably lower versions), pages that use prototype.js

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              pbaerfuss Philipp Bärfuss
              andy.mcdowall Andy McDowall
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD