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

Active tab with link shows through filepicker

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE

      Description

      When using tabs (with links in selected tabs) and file picker, the selected tab with link shows through the file picker. I've reproduced this in 2.6 in the Standard theme, another of our themes and the Canvas theme. I can't reproduce it in the Clean theme in 2.6, but that looks like it is because the renderer doesn't respect the tabobject's $linkedwhenselected property.

      To reproduce:

      • Clone the following repository into the local/tabtest directory - https://github.com/sam-moodle/moodle-local_tabtest
      • Use either the Canvas theme or the standard theme if using Moodle 2.6.3
      • Log in as an admin
      • Navigate to <yourmoodsite>/local/tabtest/view.php
      • Click the "Choose a file" button

      Expected result: The select tab does not appear through the file picker
      Actual result: The selected tab appears through the file picker

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              sbc24 Sam Chaffee
              Participants:
              Component watchers:
              Amy Groshek, David Scotson, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Bas Brands
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: