diff --git a/browser/components/customizableui/content/customizeMode.inc.xul b/browser/components/customizableui/content/customizeMode.inc.xul index 11563b4297b0..eb6d46749cb3 100644 --- a/browser/components/customizableui/content/customizeMode.inc.xul +++ b/browser/components/customizableui/content/customizeMode.inc.xul @@ -2,7 +2,7 @@ - License, v. 2.0. If a copy of the MPL was not distributed with this - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> - + \ No newline at end of file + diff --git a/browser/components/customizableui/src/CustomizeMode.jsm b/browser/components/customizableui/src/CustomizeMode.jsm index f391079743d1..d045bb37b8e3 100644 --- a/browser/components/customizableui/src/CustomizeMode.jsm +++ b/browser/components/customizableui/src/CustomizeMode.jsm @@ -75,6 +75,9 @@ CustomizeMode.prototype = { let window = this.window; let document = this.document; + let customizer = document.getElementById("customization-container"); + customizer.hidden = false; + // We don't need to switch to kAboutURI, or open a new tab at // kAboutURI if we're already on it. if (this.browser.selectedBrowser.currentURI.spec != kAboutURI) { @@ -105,7 +108,6 @@ CustomizeMode.prototype = { evt.initCustomEvent("CustomizationStart", true, true, window); window.dispatchEvent(evt); - let customizer = document.getElementById("customization-container"); customizer.parentNode.selectedPanel = customizer; window.PanelUI.hide(); @@ -233,6 +235,9 @@ CustomizeMode.prototype = { } } + let customizer = document.getElementById("customization-container"); + customizer.hidden = true; + this._changed = false; },