summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-11-11 09:36:56 +0100
committerAleksander Machniak <alec@alec.pl>2014-11-11 09:36:56 +0100
commit33f8bd69180567f82c1c0f0773beff01e65ec688 (patch)
treec2962d10344338f23da250f9b5d62de6c0e611b5 /program/js
parent1852f984c056ae483892638fd0a8c629bf706342 (diff)
Fix bug where cancelling switch from HTML to plain text didn't set editor type selector properly (#1490141)
Diffstat (limited to 'program/js')
-rw-r--r--program/js/app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 6e0d6902f..fe9daddc8 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -3439,6 +3439,8 @@ function rcube_webmail()
}
else if (this.html2plain(tinyMCE.get(props.id).getContent(), props.id))
tinyMCE.execCommand('mceRemoveControl', false, props.id);
+ else
+ return false;
return true;
};