summaryrefslogtreecommitdiff
path: root/program/js/editor_images.js
diff options
context:
space:
mode:
Diffstat (limited to 'program/js/editor_images.js')
-rw-r--r--program/js/editor_images.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/editor_images.js b/program/js/editor_images.js
index 2faafd339..28e6bec38 100644
--- a/program/js/editor_images.js
+++ b/program/js/editor_images.js
@@ -7,6 +7,6 @@ if (rc_client.env.attachments)
{
var att = rc_client.env.attachments[id];
if (att.complete && att.mimetype.indexOf('image/') == 0)
- tinyMCEImageList.push([att.name, rc_client.env.comm_path+'&_action=display-attachment&_file='+id]);
+ tinyMCEImageList.push([att.name, rc_client.env.comm_path+'&_action=display-attachment&_file='+id+'&_id='+rc_client.env.compose_id]);
}
};