Skip to content

Commit

Permalink
MDL-24416, fixed the problem of using file picker in tinymce fullscre…
Browse files Browse the repository at this point in the history
…en mode
  • Loading branch information
Dongsheng Cai committed Sep 29, 2010
1 parent 0bd269b commit 5a25432
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/editor/tinymce/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5a25432

Please sign in to comment.