]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15405: Add missing quote in javascript code
authorscyrma <scyrma>
Wed, 27 Aug 2008 08:36:01 +0000 (08:36 +0000)
committerscyrma <scyrma>
Wed, 27 Aug 2008 08:36:01 +0000 (08:36 +0000)
lib/form/filepicker.php

index 4c3064e9661eac93d9ddb9dea310223f99b85644..95c772dee870139adb0d9cca78dc949f20bc02c9 100644 (file)
@@ -73,7 +73,7 @@ function callpicker_$suffix(){
     picker.id = 'file-picker-$suffix';
     document.body.appendChild(picker);
     var el=document.getElementById('${id}_${suffix}');
-    openpicker_$suffix({"env":"form", 'target':el, 'callback':updatefile_$suffix, 'filearea':${filearea}})
+    openpicker_$suffix({"env":"form", 'target':el, 'callback':updatefile_$suffix, 'filearea':"${filearea}"})
 }
 </script>
 EOD;