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

First capability is hidden in capability overview list

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.6, 2.9
    • Fix Version/s: 2.8.8, 2.9.2
    • Component/s: Administration
    • Labels:
    • Testing Instructions:
      Hide
      1. Go to capability overview main page (/admin/tool/capability/index.php)
      2. Inspect the capability select element below the search box
      3. Check that the first <option> tag in the select does not have style="display:none" defined.
      Show
      Go to capability overview main page (/admin/tool/capability/index.php) Inspect the capability select element below the search box Check that the first <option> tag in the select does not have style="display:none" defined.
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-50762-master

      Description

      In capability overview, the search yui module hides the first capability in the select element.

      Before Moodle 2.6 the select list had 'Choose...' as first option and the search script added 'display: none' to hide that. In Moodle 2.6 the list was changed and the 'Choose...' option disappeared, but the script still hides the first option in the list.

        Attachments

          Activity

            People

            Assignee:
            luryus Lauri Koskela
            Reporter:
            luryus Lauri Koskela
            Peer reviewer:
            Dan Poltawski
            Integrator:
            Andrew Nicols
            Tester:
            Rajesh Taneja
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              14/Sep/15