Now closing the download dialog if Cancel is clicked. Fix for bug 58573. r=sgehani, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@86953 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
1b9d2db431
commit
e7b1cabf70
@ -794,6 +794,8 @@ nsXPInstallManager::OnDataAvailable(nsIChannel* channel, nsISupports *ctxt,
|
||||
{
|
||||
// returning an error will stop the download. We may get extra
|
||||
// OnData calls if they were already queued so beware
|
||||
if (mDlg)
|
||||
mDlg->Close();
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user