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

JS warning when the 'Select files' area is rendered.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.5, 2.3.2, 2.4
    • Fix Version/s: STABLE backlog
    • Component/s: JavaScript
    • Labels:
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE

      Description

      If you visit a form containing a TinyMCE editor (eg. editing a course) you will be given the following JS warning.

      Use of attributes' specified attribute is deprecated. It always returns true.

      return (attrs.value && attrs.value.specified) ? node.value : node.text;

      The same line of code is located in multiple files and will need to be fixed as well

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              moodle.com moodle.com
              Reporter:
              markn Mark Nelson
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: