From 12b6eebf37e7312cc4199ddcec79ad32e76d4bcd Mon Sep 17 00:00:00 2001 From: Andrew Robert Nicols Date: Fri, 22 Mar 2013 17:29:56 +0000 Subject: [PATCH] MDL-38658 JavaScript: Correct fullpath for dndupload definition --- course/dnduploadlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/dnduploadlib.php b/course/dnduploadlib.php index 10cedbac44e..b59e85f9111 100644 --- a/course/dnduploadlib.php +++ b/course/dnduploadlib.php @@ -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'),