From d06e57fdf21879a4e93d6c00b939ca42094d3e86 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Wed, 21 Sep 2011 16:43:47 -0400 Subject: [PATCH] Skip confirmation dialog when deleting a contact from a source that supports undelete operations --- 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