Partial fix for #14998, 'Simple single-click tree'.

This commit is contained in:
slamm%netscape.com 1999-09-29 20:20:55 +00:00
parent c5d68630d4
commit 978cd22825
2 changed files with 14 additions and 0 deletions

View File

@ -119,6 +119,13 @@ function OnDblClick(treeitem, root)
// Next, check to see if it's a container. If so, then just let
// the tree do its open and close stuff.
if (treeitem.getAttribute('container') == 'true') {
// if (treeitem.getAttribute('open') == 'true') {
// treeitem.setAttribute('open','')
// } else {
// treeitem.setAttribute('open','true')
// }
return;
}

View File

@ -119,6 +119,13 @@ function OnDblClick(treeitem, root)
// Next, check to see if it's a container. If so, then just let
// the tree do its open and close stuff.
if (treeitem.getAttribute('container') == 'true') {
// if (treeitem.getAttribute('open') == 'true') {
// treeitem.setAttribute('open','')
// } else {
// treeitem.setAttribute('open','true')
// }
return;
}