From 837de85a157835bf6883db24f68e6fbcb7fdfffa Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Tue, 08 May 2012 07:29:26 -0400
Subject: [PATCH] Fix issue where signature wasn't re-added on draft compose (#1488322)

---
 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 487d718..3518712 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -2988,7 +2988,7 @@
       this.set_caret_pos(input_message, this.env.top_posting ? 0 : $(input_message).val().length);
       // add signature according to selected identity
       // if we have HTML editor, signature is added in callback
-      if (input_from.prop('type') == 'select-one' && $("input[name='_draft_saveid']").val() == '') {
+      if (input_from.prop('type') == 'select-one') {
         this.change_identity(input_from[0]);
       }
     }

--
Gitblit v1.9.1