From 92c2bb9942eeea7bdf37b945846dee607bd2542d Mon Sep 17 00:00:00 2001 From: "scott%scott-macgregor.org" Date: Mon, 4 Oct 2004 21:26:35 +0000 Subject: [PATCH] Bug #262886 --> Can't open attachments from the mail compose window anymore git-svn-id: svn://10.0.0.236/trunk@163214 18797224-902f-48f8-a5cc-f745e15eee43 --- .../mail/components/compose/content/MsgComposeCommands.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mozilla/mail/components/compose/content/MsgComposeCommands.js b/mozilla/mail/components/compose/content/MsgComposeCommands.js index 6ff5a3e6266..95dacdd29d9 100644 --- a/mozilla/mail/components/compose/content/MsgComposeCommands.js +++ b/mozilla/mail/components/compose/content/MsgComposeCommands.js @@ -2598,7 +2598,10 @@ nsAttachmentOpener.prototype = getInterface: function(iid) { - return this.QueryInterface(iid); + if (iid.equals(Components.interfaces.nsIDOMWindowInternal)) + return window; + else + return this.QueryInterface(iid); }, loadCookie: null,