From d59de046d205e33d02daade5a4ce8cdf56366fed Mon Sep 17 00:00:00 2001 From: alec Date: Fri, 4 Dec 2009 14:41:25 +0000 Subject: - fix unintentional adding signatures with html mode and autoaddsignature=never (#1486335) git-svn-id: https://svn.roundcube.net/trunk@3164 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 4c8daeed2..c1f332a7c 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/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'); -- cgit v1.2.3