mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Partial fix for #14998, 'Simple single-click tree'.
This commit is contained in:
parent
c5d68630d4
commit
978cd22825
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user