Bug 544659 - Remove support for downgrading to Firefox 2 after customizing toolbars. r=gavin

This commit is contained in:
Dão Gottwald 2010-02-18 09:22:40 +01:00
Родитель 13a892129b
Коммит e001efaf64
1 изменённых файлов: 0 добавлений и 8 удалений

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

@ -3397,14 +3397,6 @@ function BrowserToolboxCustomizeDone(aToolboxChanged) {
document.getElementById('Browser:Back').hasAttribute('disabled') &&
document.getElementById('Browser:Forward').hasAttribute('disabled');
// support downgrading to Firefox 2.0
var navBar = document.getElementById("nav-bar");
navBar.setAttribute("currentset",
navBar.getAttribute("currentset")
.replace("unified-back-forward-button",
"unified-back-forward-button,back-button,forward-button"));
document.persist(navBar.id, "currentset");
#ifndef XP_MACOSX
updateEditUIVisibility();
#endif