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

section-modchooser-text action/event listener only attached if in div#page-content

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.5
    • Fix Version/s: None
    • Component/s: JavaScript
    • Labels:

      Description

      yui/modchooser/modchooser.js line 3 :

      PAGECONTENT : 'div#page-content'

      when using the html <main role=main> on page-content the javascript attatched to <span class=section-modchooser-text> fails as it expects it inside a div.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dobedobedoh Andrew Nicols
              Reporter:
              stuartlamour Stuart Lamour
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: