diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-02-17 15:26:20 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-02-17 15:26:20 +0000 |
commit | c91da8c94b0bcc7740def641c0716f34b65749ed (patch) | |
tree | c5832dcf4d0330ebabb937f642a8241c516636e8 /contrib/log.php | |
parent | d97115ba939ed447d17344286fbd2329686f779c (diff) | |
download | gnunet-c91da8c94b0bcc7740def641c0716f34b65749ed.tar.gz gnunet-c91da8c94b0bcc7740def641c0716f34b65749ed.zip |
- show only peer rows of active level
Diffstat (limited to 'contrib/log.php')
-rw-r--r-- | contrib/log.php | 7 |
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) { | |||
226 | { | 226 | { |
227 | $("#"+peer).toggleClass("active"); | 227 | $("#"+peer).toggleClass("active"); |
228 | if ($("#"+peer).hasClass("active")) { | 228 | if ($("#"+peer).hasClass("active")) { |
229 | $("."+peer).show(); | 229 | for (var index = 0; index < types.length; ++index) { |
230 | var className = "." + types[index] + "." + peer; | ||
231 | $(className).show(); | ||
232 | if ($("#"+types[index]).hasClass("active")) | ||
233 | return; | ||
234 | } | ||
230 | } else { | 235 | } else { |
231 | $("."+peer).hide(); | 236 | $("."+peer).hide(); |
232 | } | 237 | } |