Modified handling of Cancel flag sent to BeforeNavigate2 from BeginLoadURL. Previously function called aShell->Stop() which was ineffective. Changed function to return NS_ERROR_ABORT.

This commit is contained in:
mike%neoplanet.com 1999-05-07 14:23:54 +00:00
parent 62ab3d7d52
commit 075b9ffc86

View File

@ -134,10 +134,7 @@ CWebShellContainer::BeginLoadURL(nsIWebShell* aShell, const PRUnichar* aURL)
if (bCancel == VARIANT_TRUE)
{
if (aShell)
{
aShell->Stop();
}
return NS_ERROR_ABORT;
}
else
{