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:
rpotts%netscape.com 1998-10-09 05:53:41 +00:00
Родитель cc95b4ef70
Коммит e888a9b816
1 изменённых файлов: 8 добавлений и 3 удалений

Просмотреть файл

@ -1298,6 +1298,14 @@ nsBrowserWindow::EndLoadURL(nsIWebShell* aShell, const PRUnichar* aURL, PRInt32
if (mThrobber) { if (mThrobber) {
mThrobber->Stop(); mThrobber->Stop();
} }
if (nsnull != mStatus) {
nsAutoString msg(aURL);
PRUint32 size;
msg.Append(" done.");
mStatus->SetText(msg, size);
}
return NS_OK; return NS_OK;
} }
@ -1425,9 +1433,6 @@ nsBrowserWindow::OnStopBinding(nsIURL* aURL,
PRInt32 status, PRInt32 status,
const nsString& aMsg) const nsString& aMsg)
{ {
if (mThrobber) {
mThrobber->Stop();
}
if (mStatus) { if (mStatus) {
nsAutoString url; nsAutoString url;
if (nsnull != aURL) { if (nsnull != aURL) {