Elastic: Fix Edit responses button state in Mailvelope mode

pull/7022/head
Aleksander Machniak 5 years ago
parent cab4c8a39c
commit 980f2b369f

@ -683,7 +683,7 @@ function rcube_elastic_ui()
if (rcmail.env.action == 'compose') {
rcmail.addEventListener('compose-encrypted', function(e) {
$("a.mode-html, button.attach").prop('disabled', e.active);
$('a.attach, a.responses')[e.active ? 'addClass' : 'removeClass']('disabled');
$('a.attach, a.responses:not(.edit)')[e.active ? 'addClass' : 'removeClass']('disabled');
});
$('#layout-sidebar > .footer:not(.pagenav) > a.button').click(function() {

Loading…
Cancel
Save