mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
MDL-34117 Correctly pass accepted_types to dnduploader
This commit is contained in:
parent
d71b79a406
commit
b2dbfa90cc
@ -975,7 +975,7 @@ M.form_filemanager.init = function(Y, options) {
|
||||
var manager = new FileManagerHelper(options);
|
||||
var dndoptions = {
|
||||
filemanager: manager,
|
||||
acceptedtypes: options.accepted_types,
|
||||
acceptedtypes: options.filepicker.accepted_types,
|
||||
clientid: options.client_id,
|
||||
author: options.author,
|
||||
maxfiles: options.maxfiles,
|
||||
|
Loading…
x
Reference in New Issue
Block a user