Disable relaod button while loading a page

This commit is contained in:
radha%netscape.com 1999-06-24 21:59:02 +00:00
parent 9a76bf8277
commit 81e099f3fd

View File

@ -1063,7 +1063,10 @@ nsBrowserAppCore::OnStartDocumentLoad(nsIDocumentLoader* aLoader, nsIURI* aURL,
setAttribute( mWebShell, "Browser:Throbber", "busy", "true" );
// Enable the Stop buton
setAttribute( mWebShell, "canStop", "disabled", "false" );
setAttribute( mWebShell, "canStop", "disabled", "" );
//Disable the reload button
setAttribute(mWebShell, "canReload", "disabled", "true");
return NS_OK;
}