diff options
author | alecpl <alec@alec.pl> | 2008-07-24 07:02:17 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-07-24 07:02:17 +0000 |
commit | 94e38bbc1e497192c0b4e7345b2ceb307473dfff (patch) | |
tree | edd8eb5090ba99d0ef77d87617871fdf714068fc | |
parent | d368a68ed701646825d3398969e77a684f73b1bd (diff) |
#1485227: fixed image list in image popup
-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(); |