[Svn] r3024 - in trunk/roundcubemail: . program/js

trac at roundcube.net trac at roundcube.net
Tue Oct 6 15:04:44 CEST 2009


Author: alec
Date: 2009-10-06 08:04:44 -0500 (Tue, 06 Oct 2009)
New Revision: 3024

Modified:
   trunk/roundcubemail/CHANGELOG
   trunk/roundcubemail/program/js/app.js
Log:
- Fix newly attached files are not saved in drafts w/o editing any text (#1486202)


Modified: trunk/roundcubemail/CHANGELOG
===================================================================
--- trunk/roundcubemail/CHANGELOG	2009-10-06 10:00:33 UTC (rev 3023)
+++ trunk/roundcubemail/CHANGELOG	2009-10-06 13:04:44 UTC (rev 3024)
@@ -1,6 +1,7 @@
 CHANGELOG RoundCube Webmail
 ===========================
 
+- Fix newly attached files are not saved in drafts w/o editing any text (#1486202)
 - Added attachment upload indicator with parallel upload (#1486058)
 - Use default_charset for bodies of messages without charset definition (#1486187)
 - Password: added cPanel driver

Modified: trunk/roundcubemail/program/js/app.js
===================================================================
--- trunk/roundcubemail/program/js/app.js	2009-10-06 10:00:33 UTC (rev 3023)
+++ trunk/roundcubemail/program/js/app.js	2009-10-06 13:04:44 UTC (rev 3024)
@@ -2283,10 +2283,14 @@
       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;
     };
     

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list