From 39fd5a7f3ae5548426963280875bbf8faab256dc Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sun, 3 May 2009 13:25:59 +0000 Subject: [PATCH] ebl update git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8784 91ce42f0-d328-0410-95d8-f526ca767f89 --- gui/bweb/html/bweb.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/gui/bweb/html/bweb.js b/gui/bweb/html/bweb.js index c1d4175e86..00b141a94a 100644 --- a/gui/bweb/html/bweb.js +++ b/gui/bweb/html/bweb.js @@ -335,13 +335,17 @@ function bweb_get_job_img(status, errors, type) return bweb_root + ret; } -function toggle_display(id) +function toggle_display(id, arrow) { + var a = document.getElementById(arrow); var e = document.getElementById(id); - if(e.style.display == 'block') + if(e.style.display == 'block') { e.style.display = 'none'; - else + a.src = '/bweb/right.gif'; + } else { e.style.display = 'block'; + a.src = '/bweb/down.gif'; + } } function search_media() -- 2.39.5