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

trac at roundcube.net trac at roundcube.net
Fri Oct 10 12:51:39 CEST 2008


Author: alec
Date: 2008-10-10 05:51:39 -0500 (Fri, 10 Oct 2008)
New Revision: 1972

Modified:
   trunk/roundcubemail/CHANGELOG
   trunk/roundcubemail/program/js/app.js
Log:
- Fix adding signature in drafts compose mode (#1485484)


Modified: trunk/roundcubemail/CHANGELOG
===================================================================
--- trunk/roundcubemail/CHANGELOG	2008-10-10 10:07:46 UTC (rev 1971)
+++ trunk/roundcubemail/CHANGELOG	2008-10-10 10:51:39 UTC (rev 1972)
@@ -5,6 +5,7 @@
 ----------
 - Fix 'Empty' link visibility for some languages e.g. Slovak (#1485489)
 - Fix messages count bar overlapping (#1485270)
+- Fix adding signature in drafts compose mode (#1485484)
 
 2008/10/09 (alec)
 ----------

Modified: trunk/roundcubemail/program/js/app.js
===================================================================
--- trunk/roundcubemail/program/js/app.js	2008-10-10 10:07:46 UTC (rev 1971)
+++ trunk/roundcubemail/program/js/app.js	2008-10-10 10:51:39 UTC (rev 1972)
@@ -423,6 +423,7 @@
     var input_replyto = rcube_find_object('_replyto');
     var input_subject = rcube_find_object('_subject');
     var input_message = rcube_find_object('_message');
+    var draftid = rcube_find_object('_draft_saveid');
 
     // init live search events
     if (input_to)
@@ -433,7 +434,7 @@
       this.init_address_input_events(input_bcc);
 
     // add signature according to selected identity
-    if (input_from && input_from.type=='select-one')
+    if (input_from && input_from.type=='select-one' && (!draftid || draftid.value==''))
       this.change_identity(input_from);
 
     if (input_to && input_to.value=='')

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



More information about the Svn mailing list