X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=program%2Fjs%2Feditor_images.js;h=28e6bec38119864673e01d592da869962cba3ae1;hb=a2dd2e41259a5e90016efcd7d083020b95e25527;hp=2faafd339eb51fe2a4d3c1aac0c47e0587174938;hpb=fe4a852cd4335d3d2089b13e10d409fa2fa816d8;p=roundcube.git diff --git a/program/js/editor_images.js b/program/js/editor_images.js index 2faafd3..28e6bec 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]); } };