Permalink
Browse files

MDL-34117 Correctly pass accepted_types to dnduploader

  • Loading branch information...
1 parent 34c10b8 commit 502ecc4c9ffb606d3b723fd2fe90f6a307dc62ea @marinaglancy marinaglancy committed with danpoltawski Jul 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/form/filemanager.js
View
2 lib/form/filemanager.js
@@ -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,

0 comments on commit 502ecc4

Please sign in to comment.