From: Eric Bollengier Date: Sun, 3 May 2009 12:53:43 +0000 (+0000) Subject: ebl tweak interface to hide command output by default X-Git-Tag: Release-3.0.2~281 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=53fe95434cf42b4eec7e9f4b1f844265a2c4d72b;p=bacula%2Fbacula 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 --- 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;