Elastic: Fix Edit responses button state in Mailvelope mode

pull/7051/head
Aleksander Machniak 5 years ago
parent b4b400c91d
commit 157edd72bb

@ -683,7 +683,7 @@ function rcube_elastic_ui()
if (rcmail.env.action == 'compose') { if (rcmail.env.action == 'compose') {
rcmail.addEventListener('compose-encrypted', function(e) { rcmail.addEventListener('compose-encrypted', function(e) {
$("a.mode-html, button.attach").prop('disabled', e.active); $("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() { $('#layout-sidebar > .footer:not(.pagenav) > a.button').click(function() {

Loading…
Cancel
Save