From a5d4c810f57334e652f0495c35def693dbd0328f Mon Sep 17 00:00:00 2001 From: "ducarroz%netscape.com" Date: Tue, 8 Aug 2000 04:46:55 +0000 Subject: [PATCH] Fix for bug 36480. Add function to switch the signature. R=putterman git-svn-id: svn://10.0.0.236/trunk@75767 18797224-902f-48f8-a5cc-f745e15eee43 --- .../mailnews/compose/resources/content/MsgComposeCommands.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mozilla/mailnews/compose/resources/content/MsgComposeCommands.js b/mozilla/mailnews/compose/resources/content/MsgComposeCommands.js index b8ee32fb969..541ce25504c 100644 --- a/mozilla/mailnews/compose/resources/content/MsgComposeCommands.js +++ b/mozilla/mailnews/compose/resources/content/MsgComposeCommands.js @@ -1528,6 +1528,10 @@ function LoadIdentity(startup) if (needToCleanUp) awCleanupRows(); + + try { + msgCompose.SetSignature(currentIdentity); + } catch (ex) { dump("### Cannot set the signature: " + ex + "\n");} } //Setup autocomplete session, we can doit from here as it's use as a service