MDL-21430 fixed forgotten filepicker coversion

This commit is contained in:
Petr Skoda 2010-01-23 10:06:12 +00:00
parent e834ebb593
commit 549770fc7b

View File

@ -194,7 +194,7 @@ class MoodleQuickForm_editor extends HTML_QuickForm_element {
$options->env = 'editor';
$options->itemid = $draftitemid;
$PAGE->requires->js_module('filepicker');
$PAGE->requires->js_module('core_filepicker');
$PAGE->requires->js_function_call('editor_init_filepicker', array($id, $options))->on_dom_ready();
if ($editor->supports_repositories()) {