-
Bug
-
Resolution: Fixed
-
Minor
-
3.11.11, 4.0.5, 4.1
-
MOODLE_311_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE
-
MOODLE_400_STABLE, MOODLE_401_STABLE
-
mdl-76729_401
-
mdl-76729_master
-
The thumbnail seems to have been disabled in tree view in MDL-71814 Atto: File picker – file info panel focus issue, but it doesn't seem to be necessary to fix the focus issue.
This is causing an issue for the Multitopic format, preventing preview of the course setting Banner slice.
Testing Instructions
1. Log in, enter a course, and turn Edit mode on.
2. Add a new File activity.
3. Switch file picker to tree view (folder icon).
4. Add an image.
5. Save.
6. Edit File settings.
7. Verify file image preview thumbnail shown (not just a generic icon to represent an image).
To Fix
In lib/form/filemanager.js in the function view_files, remove the condition:
if (this.viewmode != 2)
- is a regression caused by
-
MDL-71814 Atto: File picker – file info panel focus issue
-
- Closed
-