Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-38012 META: Simplify moodle forms
  3. MDL-38049

Open page with advanced sections already hidden instead of hiding them with javascript after the page has loaded.

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5
    • Component/s: Forms Library
    • Labels:
    • Testing Instructions:
      Hide
      1. Purge your cache
      2. Open the course settings page
      3. Make sure some sections are collapsed by default
        • Before the patch, the sections would be collapsed when the JS is entirely loaded, causing the page to flicker. This patch should fix this, by collapsing the sections by default, without flickering.
      Show
      Purge your cache Open the course settings page Make sure some sections are collapsed by default Before the patch, the sections would be collapsed when the JS is entirely loaded, causing the page to flicker. This patch should fix this, by collapsing the sections by default, without flickering.
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-38049-master

      Description

      The show more/show less sections of a form are initially all visible, and then get hidden. This causes a page reflow and is distracting.

      This page is an example of the issue:

      /admin/webservice/service.php?id=0

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/May/13