From 53fe95434cf42b4eec7e9f4b1f844265a2c4d72b Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sun, 3 May 2009 12:53:43 +0000 Subject: [PATCH] ebl tweak interface to hide command output by default git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8782 91ce42f0-d328-0410-95d8-f526ca767f89 --- gui/bweb/html/bweb.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gui/bweb/html/bweb.js b/gui/bweb/html/bweb.js index 0387ccca5f..c1d4175e86 100644 --- a/gui/bweb/html/bweb.js +++ b/gui/bweb/html/bweb.js @@ -335,6 +335,15 @@ function bweb_get_job_img(status, errors, type) return bweb_root + ret; } +function toggle_display(id) +{ + var e = document.getElementById(id); + if(e.style.display == 'block') + e.style.display = 'none'; + else + e.style.display = 'block'; +} + function search_media() { var what = document.getElementById('searchbox').value; -- 2.39.5