mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
MDL-76729 filepicker: Restore file picker thumbnails in tree view
This commit is contained in:
parent
cd072308e5
commit
bc574f252d
@ -736,9 +736,7 @@ M.form_filemanager.init = function(Y, options) {
|
||||
this.lazyloading={};
|
||||
}
|
||||
this.filemanager.one('.fp-content').fp_display_filelist(options, list, this.lazyloading);
|
||||
if (this.viewmode != 2) {
|
||||
this.content_scrolled();
|
||||
}
|
||||
this.content_scrolled();
|
||||
// This is used to focus after refreshing the list files by update file and set main file action.
|
||||
if (actionfiles !== undefined) {
|
||||
if (actionfiles.action == 'updatefile' || actionfiles.action == 'setmainfile') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user