зеркало из https://github.com/mozilla/pjs.git
Removed the Stop() call to the throbber from OnStopBinding... This should keep the throbber going throughout the entire document load...
This commit is contained in:
Родитель
cc95b4ef70
Коммит
e888a9b816
|
@ -1298,6 +1298,14 @@ nsBrowserWindow::EndLoadURL(nsIWebShell* aShell, const PRUnichar* aURL, PRInt32
|
|||
if (mThrobber) {
|
||||
mThrobber->Stop();
|
||||
}
|
||||
if (nsnull != mStatus) {
|
||||
nsAutoString msg(aURL);
|
||||
PRUint32 size;
|
||||
|
||||
msg.Append(" done.");
|
||||
|
||||
mStatus->SetText(msg, size);
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
@ -1425,9 +1433,6 @@ nsBrowserWindow::OnStopBinding(nsIURL* aURL,
|
|||
PRInt32 status,
|
||||
const nsString& aMsg)
|
||||
{
|
||||
if (mThrobber) {
|
||||
mThrobber->Stop();
|
||||
}
|
||||
if (mStatus) {
|
||||
nsAutoString url;
|
||||
if (nsnull != aURL) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче