Bug 809022 - The downloads button opens the panel even if it's disabled.

r=paolo
This commit is contained in:
Marco Bonardo 2012-11-06 23:11:14 +01:00
parent ffe07d9115
commit 19c1ead74d

View File

@ -509,10 +509,11 @@ const DownloadsIndicatorView = {
if (DownloadsCommon.useToolkitUI) {
// The panel won't suppress attention for us, we need to clear now.
DownloadsCommon.indicatorData.attention = false;
BrowserDownloadsUI();
} else {
DownloadsPanel.showPanel();
}
DownloadsPanel.showPanel();
aEvent.stopPropagation();
},