From 3516b023444619177270447c7b7aa7e7c0ece239 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Fri, 28 Aug 2015 04:36:32 -0400
Subject: [PATCH] Fix so adding CC/BCC recipients from the sidebar unhides compose form fields in Classic skin (#1490472)

---
 program/js/app.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index b798dde..549e5a6 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -3681,7 +3681,7 @@
       var oldval = input.val(), rx = new RegExp(RegExp.escape(delim) + '\\s*$');
       if (oldval && !rx.test(oldval))
         oldval += delim + ' ';
-      input.val(oldval + recipients.join(delim + ' ') + delim + ' ');
+      input.val(oldval + recipients.join(delim + ' ') + delim + ' ').change();
       this.triggerEvent('add-recipient', { field:field, recipients:recipients });
     }
 

--
Gitblit v1.9.1