From 4591de7018414267311b421ef42ef1b4a2f6aa89 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Thu, 10 Mar 2011 15:21:21 -0500 Subject: [PATCH] Prepare for multiple concurrent compose windows --- program/js/editor_images.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 @@ { 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]); } }; -- Gitblit v1.9.1