bug 84756 patch by Harshal <keeda@hotpop.com> r=caillon sr=peterv

JS menu is destroyed during use


git-svn-id: svn://10.0.0.236/trunk@134604 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cbiesinger%web.de
2002-12-01 13:54:39 +00:00
parent a5c1bff965
commit f754767d3e

View File

@@ -487,6 +487,10 @@ nsHTMLDocument::BaseResetToURI(nsIURI *aURL)
NS_ASSERTION(mWyciwygChannel == nsnull, "nsHTMLDocument::Reset() - Wyciwyg Channel still exists!");
mWyciwygChannel = nsnull;
if (mBaseTarget) {
mBaseTarget->Truncate();
}
return result;
}