From 5d24cf1e80bebfe8249ea80c362e23399748826d Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Fri, 30 Mar 2012 18:53:56 -0700 Subject: [PATCH] Bug 735749 - No back button in awesomescreen on Maemo 6 [r=mfinkle] --- mobile/xul/chrome/content/AwesomePanel.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;