From 95aac7c0b618d66833fc00627d5eeeea1e8ae9ca Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 23 Oct 2019 18:53:40 +0200 Subject: [PATCH] Elastic: Fix regression where Encrypt button wasn't displayed in mail compose toolbar (#6982) Also fix Reply-All button handling --- CHANGELOG | 1 + skins/elastic/ui.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 2e1f5f904..1900c2302 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -6,6 +6,7 @@ CHANGELOG Roundcube Webmail - Elastic: Fix initial focus on recipients input in mail compose screen - Elastic: Fix inserting responses at cursor position (#6971) - Elastic: Fix unread filter icon and search state on folder change (#6978) +- Elastic: Fix regression where Encrypt button wasn't displayed in mail compose toolbar (#6982) - Enigma: Fix bug where signing option was set to disabled after saving a draft in Elastic skin (#6515) - Redis: Improve error handling and phpredis 5.X support (#6888) - Archive: Fix bug where next email was not displayed after Archive button use (#6965) diff --git a/skins/elastic/ui.js b/skins/elastic/ui.js index b20c33915..16725aec7 100644 --- a/skins/elastic/ui.js +++ b/skins/elastic/ui.js @@ -1521,14 +1521,14 @@ function rcube_elastic_ui() case 'reply-list': if (rcmail.env.reply_all_mode == 1) { var label = rcmail.gettext(args.status ? 'replylist' : 'replyall'); - $('a.button.reply-all').attr('title', label).find('.inner').text(label); + $('.toolbar a.reply-all').attr('title', label).find('.inner').text(label); } break; case 'compose-encrypted': // show the toolbar button for Mailvelope if (args.status) { - $('a.button.encrypt:not(.icon)').parent().show(); + $('.toolbar a.encrypt').parent().show(); } break;