Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2019-11-27 11:21:23 +0300
committerAleksander Machniak <alec@alec.pl>2019-11-27 11:21:23 +0300
commit57476c09f9459cfb7c791a6ee6d5282f15dad67e (patch)
treec0a5e05acf63078839a8cd1c9b49cd59beb1aae1 /skins
parent604e81489842473f2649471769051f42a3fb5309 (diff)
Fix bug where cancelling switching from HTML to plain text didn't set the flag properly (#7077)
Diffstat (limited to 'skins')
-rw-r--r--skins/larry/ui.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index 182a13673..2b68ebe97 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -183,9 +183,7 @@ function rcube_mail_ui()
else if (rcmail.env.action == 'compose') {
rcmail.addEventListener('fileappended', function(e) { if (e.attachment.complete) attachmentmenu_append(e.item); })
.addEventListener('aftertoggle-editor', function(e) {
- window.setTimeout(function() { layout_composeview() }, 200);
- if (e && e.mode)
- $("select[name='editorSelector']").val(e.mode);
+ window.setTimeout(function() { layout_composeview(); }, 200);
})
.addEventListener('compose-encrypted', function(e) {
$("select[name='editorSelector']").prop('disabled', e.active);