diff options
author | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2011-08-08 09:15:06 +0800 |
---|---|---|
committer | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2011-08-08 09:15:06 +0800 |
commit | daae637bdf6ea311c306eefe298e5760e2af22dc (patch) | |
tree | 3ddeae0b03b604fab6a3668e280e266b06d797f1 /data/empathy-log-window.html | |
parent | c6837f3edb97b06d1aff8e4300d58653b9484713 (diff) | |
download | gsoc2013-empathy-daae637bdf6ea311c306eefe298e5760e2af22dc.tar gsoc2013-empathy-daae637bdf6ea311c306eefe298e5760e2af22dc.tar.gz gsoc2013-empathy-daae637bdf6ea311c306eefe298e5760e2af22dc.tar.bz2 gsoc2013-empathy-daae637bdf6ea311c306eefe298e5760e2af22dc.tar.lz gsoc2013-empathy-daae637bdf6ea311c306eefe298e5760e2af22dc.tar.xz gsoc2013-empathy-daae637bdf6ea311c306eefe298e5760e2af22dc.tar.zst gsoc2013-empathy-daae637bdf6ea311c306eefe298e5760e2af22dc.zip |
Reimplement log_window_maybe_expand_events()
Diffstat (limited to 'data/empathy-log-window.html')
-rw-r--r-- | data/empathy-log-window.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/data/empathy-log-window.html b/data/empathy-log-window.html index 839ddee53..794717704 100644 --- a/data/empathy-log-window.html +++ b/data/empathy-log-window.html @@ -80,6 +80,25 @@ function toggleExpander(node, open) nodes[i].style.display = display; } +function expandAll() +{ + function expandAllRecurse(node) + { + var nodes = getNodes(node); + + for (var i = 0; i < nodes.length; i++) + { + toggleExpander(nodes[i], true); + + expandAllRecurse(nodes[i]); + } + } + + var treeview = document.getElementById('treeview'); + + expandAllRecurse(treeview); +} + function insertRow (path, text) { var treeview = document.getElementById('treeview'); |