From 724cc1f0d0af029b829294cf5ca9787225f117df Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Fri, 04 Dec 2009 09:41:25 -0500
Subject: [PATCH] - fix unintentional adding signatures with html mode and autoaddsignature=never (#1486335)

---
 program/js/app.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index 4c8daee..c1f332a 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -2374,7 +2374,7 @@
       // 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');
 

--
Gitblit v1.9.1