From 459c80dbf6db7b33c77ee2173306f5e1100291c4 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Mon, 24 Sep 2012 14:07:56 -0400 Subject: [PATCH] Don't loose composition window when opening mail Steps to reproduce: * open message in popup window * click reply or forward * re-open message in popup window from the messages list It will now open the message in a separate popup. Fixes #1908. --- UI/WebServerResources/MailerUI.js | 1 + 1 file changed, 1 insertion(+) diff --git a/UI/WebServerResources/MailerUI.js b/UI/WebServerResources/MailerUI.js index 02436cc51..8750b4cfa 100644 --- a/UI/WebServerResources/MailerUI.js +++ b/UI/WebServerResources/MailerUI.js @@ -195,6 +195,7 @@ function openMessageWindowsForSelection(action, firstOnly) { var url = window.location.href; var parts = url.split("/"); parts[parts.length-1] = action; + window.name += "_" + action; window.location.href = parts.join("/"); } else {