Permalink
Browse files

MDL-38658 JavaScript: Correct fullpath for dndupload definition

  • Loading branch information...
1 parent 373a8e0 commit 3f53437109792b1b57455e93a6ef4fa055217b94 @andrewnicols andrewnicols committed Mar 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/dnduploadlib.php
View
@@ -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'),

0 comments on commit 3f53437

Please sign in to comment.