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
parent f734e65fc9
commit 54c209542c

View File

@ -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).