MDL-38658 JavaScript: Correct fullpath for dndupload definition

This commit is contained in:
Andrew Robert Nicols
2013-03-24 23:44:38 +01:00
committed by Eloy Lafuente (stronk7)
parent eea80d257c
commit 12b6eebf37
+1 -1
View File
@@ -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'),