diff options
Diffstat (limited to 'program')
-rw-r--r-- | program/js/editor.js | 3 | ||||
-rw-r--r-- | program/js/editor_images.js | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/program/js/editor.js b/program/js/editor.js index 7b22c9e8e..6fdbadccd 100644 --- a/program/js/editor.js +++ b/program/js/editor.js @@ -31,7 +31,8 @@ function rcmail_editor_init(skin_path, editor_lang) theme_advanced_toolbar_align : "left", extended_valid_elements : "font[face|size|color|style],span[id|class|align|style]", content_css : skin_path + "/editor_content.css", - external_image_list_url : "editor_images.js" + external_image_list_url : "program/js/editor_images.js", + rc_client: rcube_webmail_client }); } diff --git a/program/js/editor_images.js b/program/js/editor_images.js index ddac044cc..373b44e3d 100644 --- a/program/js/editor_images.js +++ b/program/js/editor_images.js @@ -1,5 +1,5 @@ -var rc_client = tinyMCEPopup.windowOpener.rcube_webmail_client; +var rc_client = tinyMCEPopup.getParam("rc_client"); if (rc_client.gui_objects.attachmentlist) { var tinyMCEImageList = new Array(); |