mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-06 14:44:26 +00:00
Disable relaod button while loading a page
This commit is contained in:
parent
9a76bf8277
commit
81e099f3fd
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user