From e28b12259fb40764ef658710c94f6bb110ba9c92 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sun, 3 Nov 2013 15:05:39 +0100 Subject: Fix issue where mails with inline images of the same name contained only the first image multiple times (#1489406) --- program/js/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/js/editor.js') diff --git a/program/js/editor.js b/program/js/editor.js index b349c9c35..020971d6e 100644 --- a/program/js/editor.js +++ b/program/js/editor.js @@ -162,7 +162,7 @@ function rcmail_editor_images() for (i in files) { att = files[i]; if (att.complete && att.mimetype.startsWith('image/')) { - list.push([att.name, rcmail.env.comm_path+'&_action=display-attachment&_file='+i+'&_id='+rcmail.env.compose_id]); + list.push([att.name, rcmail.env.comm_path+'&_id='+rcmail.env.compose_id+'&_action=display-attachment&_file='+i]); } } -- cgit v1.2.3