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

Expanding multiple sections at once fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.3, 2.8.2, 2.9
    • Fix Version/s: 2.7.6, 2.8.4
    • Component/s: Themes
    • Labels:
    • Testing Instructions:
      Hide

      0. Testing this requires hacking.
      1. Edit theme/bootstrapbase/layout/columns3.php, adding this code @ different places, say 3 times:
      one @ before the end of the </header> tag.
      another after outputting the "side-post" blocks.
      the last one before the end of the </body> tag.
      Code to add:
      <div class="nav-collapse collapse">This should be collapsed in narrow window</div>
      2. With the patch applied, caches purged and using any bootstrap-based theme, go to the site main page.
      3. With full-width (>1000 aprox), you will see the 3 occurrences of the code above.
      4. Narrow the window till the collapse-toogle button (up-right) is shown. The 3 occurrences are not visible now.
      5. Press the collapse-toogle button, the 3 occurrences are shown in their original places.
      (without the patch applied none of the occurrences is shown ever when the window is narrowed, aka, point 5 fails).

      Show
      0. Testing this requires hacking. 1. Edit theme/bootstrapbase/layout/columns3.php, adding this code @ different places, say 3 times: one @ before the end of the </header> tag. another after outputting the "side-post" blocks. the last one before the end of the </body> tag. Code to add: <div class="nav-collapse collapse">This should be collapsed in narrow window</div> 2. With the patch applied, caches purged and using any bootstrap-based theme, go to the site main page. 3. With full-width (>1000 aprox), you will see the 3 occurrences of the code above. 4. Narrow the window till the collapse-toogle button (up-right) is shown. The 3 occurrences are not visible now. 5. Press the collapse-toogle button, the 3 occurrences are shown in their original places. (without the patch applied none of the occurrences is shown ever when the window is narrowed, aka, point 5 fails).
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      m29_MDL-48805

      Description

      It appears that the new functionality brought in with MDL-46900 now fails (See MDL-46900 for replication steps)

        Attachments

          Activity

            People

            Assignee:
            brianb Brian Barnes
            Reporter:
            brianb Brian Barnes
            Peer reviewer:
            Jetha Chan
            Integrator:
            David Monllaó
            Tester:
            Damyon Wiese
            Participants:
            Component watchers:
            Bas Brands
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              9/Mar/15