From b0c99c5901c50c42ad37b040bcde0a299e9e2000 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sat, 13 Jul 2013 16:34:40 +0100 Subject: [PATCH] check-bkp-status.in: Further fettling of log hiding and showing. If a log display is already shown, and then selected from the master table, then don't mark it for auto-hiding. --- check-bkp-status.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/check-bkp-status.in b/check-bkp-status.in index a999f13..de347c6 100644 --- a/check-bkp-status.in +++ b/check-bkp-status.in @@ -275,8 +275,10 @@ html_header () { if (LAST_EXPAND !== null) do_hide(LAST_EXPAND[0], LAST_EXPAND[1]); var d = elt('logdump-' + tag); var b = elt('expand-' + tag); - LAST_EXPAND = [d, b]; - do_show(d, b); + if (elt_class_p(d, 'hide')) { + LAST_EXPAND = [d, b]; + do_show(d, b); + } } function make_toggle_button(tag) { document.write( -- 2.11.0