Bug 416342 - download of attachments window shows that download does not progress. r=bienvenu, sr=bienvenu

This commit is contained in:
edward.lee%engineering.uiuc.edu 2008-03-10 01:20:12 +00:00
Родитель 2f5a8831a6
Коммит 3a588f4f08
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -2052,7 +2052,8 @@ nsSaveMsgListener::OnStopRequest(nsIRequest* request, nsISupports* aSupport,
if(mTransfer)
{
mTransfer->OnProgressChange(nsnull, nsnull, mContentLength, mContentLength, mContentLength, mContentLength);
mTransfer->OnStateChange(nsnull, nsnull, nsIWebProgressListener::STATE_STOP, NS_OK);
mTransfer->OnStateChange(nsnull, nsnull, nsIWebProgressListener::STATE_STOP |
nsIWebProgressListener::STATE_IS_NETWORK, NS_OK);
mTransfer = nsnull; // break any circular dependencies between the progress dialog and use
}