summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-12-04 14:41:25 +0000
committeralecpl <alec@alec.pl>2009-12-04 14:41:25 +0000
commit724cc1f0d0af029b829294cf5ca9787225f117df (patch)
treead3031c666c1ba25a1782a04a980a03c977a7681 /program
parent70ee70aeac5fcae71cf29eab83ddc82739be3459 (diff)
- fix unintentional adding signatures with html mode and autoaddsignature=never (#1486335)
Diffstat (limited to 'program')
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 4c8daeed2..c1f332a7c 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -2374,7 +2374,7 @@ function rcube_webmail()
// move cursor before the signature
this.set_caret_pos(input_message.get(0), cursor_pos);
}
- else if (is_html && this.env.signatures) { // html
+ else if (is_html && show_sig && this.env.signatures) { // html
var editor = tinyMCE.get(this.env.composebody);
var sigElem = editor.dom.get('_rc_sig');