Make sure we send start and stop notification so progress dialogs get

taken down. Bug 127375, r=brade, sr=darin, a=asa
This commit is contained in:
bzbarsky%mit.edu 2002-03-05 03:23:20 +00:00
parent 00e560a159
commit 1e8adc7427

View File

@ -412,6 +412,14 @@ NS_IMETHODIMP nsWebBrowserPersist::SaveDocument(
NS_OK);
}
}
} else if (mProgressListener) {
// tell the listener we're done
mProgressListener->OnStateChange(nsnull, nsnull,
nsIWebProgressListener::STATE_START,
NS_OK);
mProgressListener->OnStateChange(nsnull, nsnull,
nsIWebProgressListener::STATE_STOP,
NS_OK);
}
return rv;