MDL-38658 JavaScript: Correct fullpath for dndupload definition
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
eea80d257c
commit
12b6eebf37
@@ -51,7 +51,7 @@ function dndupload_add_to_course($course, $modnames) {
|
||||
// Add the javascript to the page.
|
||||
$jsmodule = array(
|
||||
'name' => 'coursedndupload',
|
||||
'fullpath' => new moodle_url('/course/dndupload.js'),
|
||||
'fullpath' => '/course/dndupload.js',
|
||||
'strings' => array(
|
||||
array('addfilehere', 'moodle'),
|
||||
array('dndworkingfiletextlink', 'moodle'),
|
||||
|
||||
Reference in New Issue
Block a user