summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-02-17 15:26:20 +0000
committerBart Polot <bart@net.in.tum.de>2014-02-17 15:26:20 +0000
commitc91da8c94b0bcc7740def641c0716f34b65749ed (patch)
treec5832dcf4d0330ebabb937f642a8241c516636e8 /contrib
parentd97115ba939ed447d17344286fbd2329686f779c (diff)
- show only peer rows of active level
Diffstat (limited to 'contrib')
-rw-r--r--contrib/log.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/log.php b/contrib/log.php
index 8d272cd56..3e2711a45 100644
--- a/contrib/log.php
+++ b/contrib/log.php
@@ -226,7 +226,12 @@ if ($start !== null || $stop !== null) {
{
$("#"+peer).toggleClass("active");
if ($("#"+peer).hasClass("active")) {
- $("."+peer).show();
+ for (var index = 0; index < types.length; ++index) {
+ var className = "." + types[index] + "." + peer;
+ $(className).show();
+ if ($("#"+types[index]).hasClass("active"))
+ return;
+ }
} else {
$("."+peer).hide();
}