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

Active tab with link shows through filepicker

    XMLWordPrintable

Details

    • 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

              Unassigned Unassigned
              sbc24 Sam Chaffee
              Amy Groshek, David Scotson, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona), Huong Nguyen, Bas Brands, Mathew May
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: