Fix invalid Signature button state after escaping Mailvelope mode (#7015)

pull/7051/head
Aleksander Machniak 5 years ago
parent 1eb50c7cd3
commit b4b400c91d

@ -5,6 +5,7 @@ CHANGELOG Roundcube Webmail
- Managesieve: Fix locked UI after opening filter frame (#7007)
- Fix PHP warning: "array_merge(): Expected parameter 2 to be an array, null given in sendmail.inc (#7003)
- Fix bug where cache keys could exceed length limit specified in db schema (#7004)
- Fix invalid Signature button state after escaping Mailvelope mode (#7015)
RELEASE 1.4.0
-------------

@ -3811,8 +3811,11 @@ function rcube_webmail()
$('#' + ref.env.composebody).show();
$("[name='_pgpmime']").remove();
// disable commands that operate on the compose body
ref.enable_command('spellcheck', 'insert-sig', 'toggle-editor', 'insert-response', 'save-response', true);
// re-enable commands that operate on the compose body
ref.enable_command('toggle-editor', 'insert-response', 'save-response', true);
ref.enable_command('spellcheck', !!window.googie);
ref.enable_command('insert-sig', !!(ref.env.signatures && ref.env.identity && ref.env.signatures[ref.env.identity]));
ref.triggerEvent('compose-encrypted', { active:false });
}
// embed Mailvelope editor container

Loading…
Cancel
Save