mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
Bug 1333064 - Unblocked malware downloads are styled incorrectly in the Downloads Panel. r=mak
MozReview-Commit-ID: IT4Dd9tBzt0 --HG-- extra : rebase_source : d72e51e61e0bac64343e2ed2273239e0b2b8adc2
This commit is contained in:
parent
c902a455bc
commit
68b38b6b90
@ -114,7 +114,7 @@ this.DownloadsViewUI.DownloadElementShell.prototype = {
|
||||
this.element.setAttribute("state",
|
||||
DownloadsCommon.stateOfDownload(this.download));
|
||||
|
||||
if (this.download.error &&
|
||||
if (!this.download.succeeded && this.download.error &&
|
||||
this.download.error.becauseBlockedByReputationCheck) {
|
||||
this.element.setAttribute("verdict",
|
||||
this.download.error.reputationCheckVerdict);
|
||||
|
Loading…
Reference in New Issue
Block a user