diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-07-24 07:02:17 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-07-24 07:02:17 +0000 |
| commit | e16836636624b9e0fac96fab586a27fdc75231fa (patch) | |
| tree | 559483c88529ecfac66a590e9337e6a43c143014 /roundcubemail/program/js | |
| parent | 09947bf38a9e5b0d6fa6cec9a94d6d383fce9908 (diff) | |
#1485227: fixed image list in image popup
git-svn-id: https://svn.roundcube.net/trunk@1609 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js')
| -rw-r--r-- | roundcubemail/program/js/editor.js | 3 | ||||
| -rw-r--r-- | roundcubemail/program/js/editor_images.js | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/roundcubemail/program/js/editor.js b/roundcubemail/program/js/editor.js index 7b22c9e8e..6fdbadccd 100644 --- a/roundcubemail/program/js/editor.js +++ b/roundcubemail/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/roundcubemail/program/js/editor_images.js b/roundcubemail/program/js/editor_images.js index ddac044cc..373b44e3d 100644 --- a/roundcubemail/program/js/editor_images.js +++ b/roundcubemail/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(); |
