summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-11-03 15:05:39 +0100
committerAleksander Machniak <alec@alec.pl>2013-11-03 15:05:39 +0100
commite28b12259fb40764ef658710c94f6bb110ba9c92 (patch)
treec0393096d1f3f4df80ae5b2d02deea1a9434b547 /program/js
parent64cb70284798f6f910e8545c738b8b82027e6bc7 (diff)
Fix issue where mails with inline images of the same name contained only the first image multiple times (#1489406)
Diffstat (limited to 'program/js')
-rw-r--r--program/js/editor.js2
1 files changed, 1 insertions, 1 deletions
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]);
}
}