Fixed bugs 16690, 16991. Also made UI changes to adjust for new 'skin' r=sfraser

git-svn-id: svn://10.0.0.236/trunk@52034 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cmanske%netscape.com
1999-10-28 01:51:07 +00:00
parent 151090fbb2
commit c0c0bb47c7
16 changed files with 132 additions and 147 deletions

View File

@@ -293,24 +293,22 @@ function onMoreFewer()
{
if (SeeMore)
{
SeeMore = false;
// This doesn't work very well - lots of layout bugs
// MoreSection.setAttribute("style","visibility:collapse");
MoreSection.setAttribute("style","display: none");
MoreFewerButton.setAttribute("value",GetString("More"));
MoreFewerButton.setAttribute("value",GetString("MoreAttributes"));
MoreFewerButton.removeAttribute("more");
//AdvancedEditSection.setAttribute("style","display: none");
dump("Set button text\n");
SeeMore = false;
}
else
{
SeeMore = true;
// MoreSection.setAttribute("style","visibility: inherit");
MoreSection.setAttribute("style","display: inherit");
MoreFewerButton.setAttribute("value",GetString("Fewer"));
MoreFewerButton.setAttribute("value",GetString("FewerAttributes"));
MoreFewerButton.setAttribute("more","1");
//AdvancedEditSection.setAttribute("style","display: inherit");
SeeMore = true;
}
window.sizeToContent();
}