MDL-29766 Add drag and drop upload to filemanager / filepicker elements

This commit is contained in:
Davo Smith 2011-11-08 20:05:19 +00:00 committed by Dan Poltawski
parent 0e84b1664d
commit f08fac7c89
9 changed files with 441 additions and 4 deletions

View file

@ -464,6 +464,12 @@ class page_requirements_manager {
'fullpath' => '/files/module.js',
'requires' => array('node', 'event', 'overlay', 'io-base', 'json', 'yui2-treeview'));
break;
case 'core_dndupload':
$module = array('name' => 'core_dndupload',
'fullpath' => '/lib/form/dndupload.js',
'requires' => array('node', 'event', 'json'),
'strings' => array(array('uploadformlimit', 'moodle')));
break;
}
} else {