diff --git a/mobile/xul/chrome/content/AwesomePanel.js b/mobile/xul/chrome/content/AwesomePanel.js index cc231f431d5..008157b39b1 100644 --- a/mobile/xul/chrome/content/AwesomePanel.js +++ b/mobile/xul/chrome/content/AwesomePanel.js @@ -23,6 +23,7 @@ var AwesomeScreen = { document.getElementById("syncsetup-container"), #endif document.getElementById("urlbar-container"), + document.getElementById("tool-app-close"), document.getElementById("search-engines-popup"), document.getElementById("context-popup") ] @@ -56,7 +57,7 @@ var AwesomeScreen = { let willShowPanel = (!this._activePanel && aPanel); if (willShowPanel) { - BrowserUI.pushDialog(this._activePanel); + BrowserUI.pushDialog(aPanel); BrowserUI._edit.attachController(); BrowserUI._editURI(); this.container.hidden = this.headers.hidden = false;