mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-13766, mulit-filepicker in htmleditor worked.
This commit is contained in:
parent
77a2e1461b
commit
765943edc6
4 changed files with 9 additions and 5 deletions
|
@ -205,6 +205,12 @@ $output .= <<<EOF
|
|||
prevOnSubmit = null;
|
||||
};
|
||||
}
|
||||
function moodlefilemanager(field_name, url, type, win) {
|
||||
//alert(id2suffix[tinyMCE.selectedInstance.editorId]);
|
||||
var suffix = id2suffix[tinyMCE.selectedInstance.editorId];
|
||||
var el = win.document.getElementById(field_name);
|
||||
eval('openpicker_'+suffix+'({"env":"editor","target":el})');
|
||||
}
|
||||
EOF;
|
||||
|
||||
$lifetime = '86400';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue