Skip to content

Commit

Permalink
Merge branch 'mdl-76729_400' of https://github.com/james-cnz/moodle i…
Browse files Browse the repository at this point in the history
…nto MOODLE_400_STABLE
  • Loading branch information
andrewnicols committed Feb 7, 2023
2 parents ddff113 + 77e664c commit d2306d3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/form/filemanager.js
Expand Up @@ -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') {
Expand Down

0 comments on commit d2306d3

Please sign in to comment.