Bug 523736: modify sidebar behavior [r=mark.finkle]

This commit is contained in:
Vivien Nicolas 2009-10-28 23:55:47 -04:00
Родитель b0a793d6d3
Коммит a0bd17e343
1 изменённых файлов: 11 добавлений и 0 удалений

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

@ -468,6 +468,9 @@ var BrowserUI = {
if (!aURI)
return;
// Give the new page lots of room
Browser.hideSidebars();
this._edit.popup.close();
this._edit.value = aURI;
@ -499,6 +502,9 @@ var BrowserUI = {
// We don't want the button to look pressed for now
button.parentNode.selectedItem = null;
// Give the new page lots of room
Browser.hideSidebars();
this._edit.popup.closePopup();
@ -523,6 +529,11 @@ var BrowserUI = {
this.showToolbar(true);
this.showAutoComplete();
}
else {
// Give the new page lots of room
Browser.hideSidebars();
}
return tab;
},