зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
fd2a869a03
Коммит
8044b17edc
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче