From: Eric Bollengier Date: Sun, 3 May 2009 13:25:59 +0000 (+0000) Subject: ebl update X-Git-Tag: Release-3.0.2~279 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=39fd5a7f3ae5548426963280875bbf8faab256dc;p=bacula%2Fbacula ebl update git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8784 91ce42f0-d328-0410-95d8-f526ca767f89 --- 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()