Bug 735749 - No back button in awesomescreen on Maemo 6 [r=mfinkle]

This commit is contained in:
Matt Brubeck 2012-03-30 18:53:56 -07:00
Родитель 52173e6fe9
Коммит 5d24cf1e80
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -23,6 +23,7 @@ var AwesomeScreen = {
document.getElementById("syncsetup-container"), document.getElementById("syncsetup-container"),
#endif #endif
document.getElementById("urlbar-container"), document.getElementById("urlbar-container"),
document.getElementById("tool-app-close"),
document.getElementById("search-engines-popup"), document.getElementById("search-engines-popup"),
document.getElementById("context-popup") document.getElementById("context-popup")
] ]
@ -56,7 +57,7 @@ var AwesomeScreen = {
let willShowPanel = (!this._activePanel && aPanel); let willShowPanel = (!this._activePanel && aPanel);
if (willShowPanel) { if (willShowPanel) {
BrowserUI.pushDialog(this._activePanel); BrowserUI.pushDialog(aPanel);
BrowserUI._edit.attachController(); BrowserUI._edit.attachController();
BrowserUI._editURI(); BrowserUI._editURI();
this.container.hidden = this.headers.hidden = false; this.container.hidden = this.headers.hidden = false;