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

Expandable nodes in navigation open target and don't expand in Bootstrap theme

XMLWordPrintable

    • MOODLE_25_STABLE
    • MOODLE_25_STABLE

      When using Bootstrap/Simple theme the 'Participants' and 'Question Bank' nodes are links, but clicking on the trinagle should also expand them. However, they aren't working and take you straight to the target.

      In the standard theme, the anchor is only the width of the text, and the li is clickable. In the BS theme, the anchor is the full width of the block.

      I'm going to say that this is (initially at least) not a JS issue as we need to have something to click on. The current system relies on CSS classes to change the triangle to show whether the nav node is expanded or not, and as a result we only have the <li> that the class is applied to apply event handlers to.

            moodle.com Moodle HQ
            dobedobedoh Andrew Lyons
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.