Fix toolbar to remember icon/text mode in customize dialog.

This commit is contained in:
hyatt%netscape.com 2002-08-09 07:38:01 +00:00
Родитель f734e65fc9
Коммит 54c209542c
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -54,7 +54,7 @@ function buildDialog()
if (!modeValue)
modeValue = "full";
modeList.value = modeValue;
var cloneToolbarBox = document.getElementById("cloned-bar-container");
var paletteBox = document.getElementById("palette-box");
var currentSet = toolbar.getAttribute("currentset");
@ -71,6 +71,7 @@ function buildDialog()
newToolbar.id = "cloneToolbar";
if (useSmallIcons.checked)
newToolbar.setAttribute("iconsize", "small");
newToolbar.setAttribute("mode", modeList.value);
// Walk through and manually clone the children of the to-be-customized toolbar.
// Make sure all buttons look enabled (and that textboxes are disabled).