summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
Diffstat (limited to 'program/js')
-rw-r--r--program/js/app.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/program/js/app.js b/program/js/app.js
index d72f9eebb..68011bdda 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -2283,10 +2283,14 @@ function rcube_webmail()
str += editor.getContent();
else
str += $("[name='_message']").val();
-
+
+ if (this.env.attachments)
+ for (var upload_id in this.env.attachments)
+ str += upload_id;
+
if (save)
this.cmp_hash = str;
-
+
return str;
};