mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-29766 Add drag and drop upload to filemanager / filepicker elements
This commit is contained in:
parent
0e84b1664d
commit
f08fac7c89
9 changed files with 441 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue