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

Expanding multiple sections at once fails

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7.3, 2.8.2, 2.9
    • 2.7.6, 2.8.4
    • Themes
    • MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • m29_MDL-48805
    • 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).

    Description

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

      Attachments

        1. 48805.tgz
          50 kB
          Brian Barnes

        Activity

          People

            brianb Brian Barnes
            brianb Brian Barnes
            Jetha Chan Jetha Chan
            David Monllaó David Monllaó
            Damyon Wiese Damyon Wiese
            Huong Nguyen, Bas Brands, Mathew May
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9/Mar/15