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

Folder tree should have option to be collapsed or expanded after loading the page

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.3, 2.5
    • Fix Version/s: 2.5
    • Component/s: Resource, Usability
    • Labels:
    • Database:
      Any
    • Testing Instructions:
      Hide
      1. Create a folder resource.
        1. Create sub-folders with content.
        2. Make sure that "Show sub-folders expanded" is checked.
      2. View folder resource that you just made, verify that the sub-folders shown are expanded.
      3. Edit folder resource, make uncheck "Show sub-folders expanded"
      4. View folder resource that you just made, verify that the sub-folders shown are collapsed
      Show
      Create a folder resource. Create sub-folders with content. Make sure that "Show sub-folders expanded" is checked. View folder resource that you just made, verify that the sub-folders shown are expanded. Edit folder resource, make uncheck "Show sub-folders expanded" View folder resource that you just made, verify that the sub-folders shown are collapsed
    • Workaround:
      Hide

      Not a real workaround, but way to change currently hard coded behavior: http://moodle.org/mod/forum/discuss.php?d=180798#p838072

      Create new folder with a lot of sub folders and files.

      After loading the folder view, all the folders and sub folders and sub sub folders render opened.

      It is not comfortable to find the files even when You know the folder path.

      Show
      Not a real workaround, but way to change currently hard coded behavior: http://moodle.org/mod/forum/discuss.php?d=180798#p838072 Create new folder with a lot of sub folders and files. After loading the folder view, all the folders and sub folders and sub sub folders render opened. It is not comfortable to find the files even when You know the folder path.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull Master Branch:

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                8 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

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