From 52b75f25069b3593c27d3b92307d61876f4acd36 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Fri, 28 Aug 2015 04:37:05 -0400
Subject: [PATCH] Fix so adding CC/BCC recipients from the sidebar unhides compose form fields in Classic skin (#1490472)
---
CHANGELOG | 1 +
program/js/app.js | 2 +-
skins/larry/ui.js | 1 -
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/CHANGELOG b/CHANGELOG
index c726798..288de8c 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -31,6 +31,7 @@
- Fix so input field (e.g. search box) does not loose focus on list load (#1490455)
- Fix so css of one html part does not apply to other text parts on message display (#1490505)
- Fix handling of plus character in mailto: links (#1490510)
+- Fix so adding CC/BCC recipients from the sidebar unhides compose form fields in Classic skin (#1490472)
RELEASE 1.1.2
-------------
diff --git a/program/js/app.js b/program/js/app.js
index d3ae10b..e1c5fc3 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -3595,7 +3595,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 });
}
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index a4c29fd..78b9caf 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -174,7 +174,6 @@
}
else if (rcmail.env.action == 'compose') {
rcmail.addEventListener('aftersend-attachment', show_uploadform)
- .addEventListener('add-recipient', function(p){ show_header_row(p.field, true); })
.addEventListener('aftertoggle-editor', function(e){
window.setTimeout(function(){ layout_composeview() }, 200);
if (e && e.mode)
--
Gitblit v1.9.1