Skip to content

Commit

Permalink
MDL-15405: Add missing quote in javascript code
Browse files Browse the repository at this point in the history
  • Loading branch information
scyrma committed Aug 27, 2008
1 parent 6311eb6 commit ec21543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/form/filepicker.php
Expand Up @@ -73,7 +73,7 @@ function callpicker_$suffix(){
picker.id = 'file-picker-$suffix'; picker.id = 'file-picker-$suffix';
document.body.appendChild(picker); document.body.appendChild(picker);
var el=document.getElementById('${id}_${suffix}'); 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> </script>
EOD; EOD;
Expand Down

0 comments on commit ec21543

Please sign in to comment.