summaryrefslogtreecommitdiff
path: root/data/empathy-log-window.html
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2011-08-08 11:15:06 +1000
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2011-08-08 11:15:06 +1000
commitdaae637bdf6ea311c306eefe298e5760e2af22dc (patch)
tree3ddeae0b03b604fab6a3668e280e266b06d797f1 /data/empathy-log-window.html
parentc6837f3edb97b06d1aff8e4300d58653b9484713 (diff)
downloadtelepathy-account-widgets-daae637bdf6ea311c306eefe298e5760e2af22dc.tar.gz
Reimplement log_window_maybe_expand_events()
Diffstat (limited to 'data/empathy-log-window.html')
-rw-r--r--data/empathy-log-window.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/data/empathy-log-window.html b/data/empathy-log-window.html
index 839ddee5..79471770 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');