From 64af345fcfd0109808df13898cbffc6d5caba377 Mon Sep 17 00:00:00 2001 From: "varada%netscape.com" Date: Fri, 25 Oct 2002 06:48:25 +0000 Subject: [PATCH] fix for 20848;getting rid of document done status text;sr=sspitzer git-svn-id: svn://10.0.0.236/branches/ISHMAIL_1_0_BRANCH@132513 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/editor/composer/src/nsEditorShell.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mozilla/editor/composer/src/nsEditorShell.cpp b/mozilla/editor/composer/src/nsEditorShell.cpp index 602d4b68330..542ee8204b4 100644 --- a/mozilla/editor/composer/src/nsEditorShell.cpp +++ b/mozilla/editor/composer/src/nsEditorShell.cpp @@ -4662,9 +4662,11 @@ nsresult nsEditorShell::EndPageLoad(nsIDOMWindow *aDOMWindow, return NS_ERROR_ABORT; } - nsAutoString doneText; - GetBundleString(NS_LITERAL_STRING("LoadingDone"), doneText); - SetChromeAttribute(mDocShell, "statusText", NS_LITERAL_STRING("label"), doneText); + if (!mMailCompose) { + nsAutoString doneText; + GetBundleString(NS_LITERAL_STRING("LoadingDone"), doneText); + SetChromeAttribute(mDocShell, "statusText", NS_LITERAL_STRING("label"), doneText); + } // // By this time, we know that the page did not contain any frames