CRM-17307 ensure that replyto_email is updated when re-using a previous mailing and...
authorSeamus Lee <seamuslee001@gmail.com>
Tue, 8 Dec 2015 06:14:39 +0000 (06:14 +0000)
committerSeamus Lee <seamuslee001@gmail.com>
Tue, 8 Dec 2015 06:14:39 +0000 (06:14 +0000)
ang/crmMailing/FromAddress.js

index 9034da6a22df66f6b602999d086ff8779e83215d..2718ea0aa10610d37a3a7725155e1bf6c5ebaed0 100644 (file)
@@ -18,6 +18,7 @@
           var addr = crmFromAddresses.getByLabel(newValue);
           mailing.from_name = addr.author;
           mailing.from_email = addr.email;
+          mailing.replyto_email = addr.email;
         });
         // FIXME: Shouldn't we also be watching mailing.from_name and mailing.from_email?
       }