Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-1185

JavaScript code is altered in javascript sections by replace_smilies()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.1
    • Fix Version/s: None
    • Component/s: General
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_12_STABLE

      Description

      Breaking code!!!!

      In one html page using layers I've some javascript functions to hide/show them. The code includes expresions like:

      'visible':(v=='hide')?'

      and the is transformed to <img alt=triste width=15 height=15 src=http://www.formacionenlared.com/moodle/pix/s/sad.gif />

      This can break a lot of good js code!!!

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: