зеркало из 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) {
|
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) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче