mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
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:
parent
00e560a159
commit
1e8adc7427
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user