summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2019-07-15 13:48:21 +0000
committerGitHub <noreply@github.com>2019-07-15 13:48:21 +0000
commitf4b79463e4077665ea0bd86c0ad8f1c9ffa164ad (patch)
treec862a1f774d81b511729378a3128e2e2898acee4
parent45cb5ab7291f44d3e06de4e71e5b0a9e80f6a0b6 (diff)
parent818cf20fc4a305bb9a4309932d1831b66a86308d (diff)
downloadUXP-f4b79463e4077665ea0bd86c0ad8f1c9ffa164ad.tar
UXP-f4b79463e4077665ea0bd86c0ad8f1c9ffa164ad.tar.gz
UXP-f4b79463e4077665ea0bd86c0ad8f1c9ffa164ad.tar.lz
UXP-f4b79463e4077665ea0bd86c0ad8f1c9ffa164ad.tar.xz
UXP-f4b79463e4077665ea0bd86c0ad8f1c9ffa164ad.zip
Merge pull request #1184 from FranklinDM/am-discoverpane-fix
Show built-in Get Add-ons error page if there is no network connection.
-rw-r--r--toolkit/mozapps/extensions/content/extensions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/mozapps/extensions/content/extensions.js b/toolkit/mozapps/extensions/content/extensions.js
index 1e185f879..9576e9a3b 100644
--- a/toolkit/mozapps/extensions/content/extensions.js
+++ b/toolkit/mozapps/extensions/content/extensions.js
@@ -2153,7 +2153,7 @@ var gDiscoverView = {
Ci.nsIWebProgressListener.STATE_IS_REQUEST |
Ci.nsIWebProgressListener.STATE_TRANSFERRING;
// Once transferring begins show the content
- if (aStateFlags & transferStart)
+ if ((aStateFlags & transferStart) === transferStart)
this.node.selectedPanel = this._browser;
// Only care about the network events