summaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-07-05 15:00:16 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-07-05 15:00:16 -0400
commit990f16afd2019989acb3e0f9b5287b3eb764808e (patch)
treeecd782cc52a292dbb03f563ab420c335af991751 /base
parentdc978c0bc21e904ea039fc9e55897c323f972b7b (diff)
downloadiceweasel-uxp-990f16afd2019989acb3e0f9b5287b3eb764808e.tar.gz
backport UXP #1158 - Fix broken all tabs menu listing
Diffstat (limited to 'base')
-rw-r--r--base/content/tabbrowser.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/content/tabbrowser.xml b/base/content/tabbrowser.xml
index 68c77ed..4d0d783 100644
--- a/base/content/tabbrowser.xml
+++ b/base/content/tabbrowser.xml
@@ -6908,6 +6908,8 @@
document.getElementById("alltabs_undoCloseTab").disabled =
SessionStore.getClosedTabCount(window) == 0;
+ var tabcontainer = gBrowser.tabContainer;
+
// Listen for changes in the tab bar.
tabcontainer.addEventListener("TabAttrModified", this, false);
tabcontainer.addEventListener("TabClose", this, false);
@@ -6919,7 +6921,6 @@
this._createTabMenuItem(tabs[i]);
}
this._updateTabsVisibilityStatus();
- }
]]></handler>
<handler event="popuphidden">