mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-24416, fixed the problem of using file picker in tinymce fullscreen mode
This commit is contained in:
parent
0bd269b7a2
commit
5a2543286f
@ -50,6 +50,9 @@ M.editor_tinymce.filepicker_callback = function(args) {
|
||||
M.editor_tinymce.filepicker = function(target_id, url, type, win) {
|
||||
YUI(M.yui.loader).use('core_filepicker', function (Y) {
|
||||
var editor_id = tinyMCE.selectedInstance.editorId;
|
||||
if (editor_id == 'mce_fullscreen') {
|
||||
editor_id = tinyMCE.selectedInstance.settings.elements;
|
||||
}
|
||||
var options = null;
|
||||
if (type == 'media') {
|
||||
// when mediaw button clicked
|
||||
|
Loading…
x
Reference in New Issue
Block a user