From 762565ceea334faaa90ee11a412cf34b2785b1c3 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Mon, 05 Nov 2012 12:36:36 -0500
Subject: [PATCH] Don't add signature (again) when opening compose view in a new window

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

diff --git a/program/js/editor.js b/program/js/editor.js
index bc36e9a..3782de8 100644
--- a/program/js/editor.js
+++ b/program/js/editor.js
@@ -80,7 +80,7 @@
   if (rcmail.env.default_font)
     $(tinyMCE.get(rcmail.env.composebody).getBody()).css('font-family', rcmail.env.default_font);
 
-  if (elem && elem.type == 'select-one') {
+  if (elem && elem.type == 'select-one' && !rcmail.env.opened_extwin) {
     rcmail.change_identity(elem);
     // Focus previously focused element
     if (fe && fe.id != rcmail.env.composebody) {

--
Gitblit v1.9.1