doing the right thing to fix bug 40978, r=ben

git-svn-id: svn://10.0.0.236/trunk@71140 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
morse%netscape.com 2000-05-31 03:27:56 +00:00
parent f0ffccdd37
commit b6732dbf7d
2 changed files with 3 additions and 7 deletions

View File

@ -208,13 +208,9 @@ function ViewCookieSelected( e )
[null,"ifl_name","ifl_value","ifl_domaintype","ifl_domain","ifl_path","ifl_secure","ifl_expires"];
for(i = 1; i < props.length; i++)
{
if( !selItemsMax && i == 3) {
if(i == 3) {
var dtypecell = document.getElementById("ifl_domaintype");
if(dtypecell.hasChildNodes()) {
dtypecell.removeChild(dtypecell.lastChild);
}
var content = document.createTextNode(cookies[idx].domaintype+":");
dtypecell.appendChild(content);
dtypecell.setAttribute("value", cookies[idx].domaintype+":");
continue;
}
var field = document.getElementById(rows[i]);

View File

@ -73,9 +73,9 @@
<!-- labels -->
<grid>
<columns>
<column/>
<column flex="1"/>
<column/>
<column/>
</columns>
<rows>
<row>