]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl tweak interface to hide command output by default
authorEric Bollengier <eric@eb.homelinux.org>
Sun, 3 May 2009 12:53:43 +0000 (12:53 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Sun, 3 May 2009 12:53:43 +0000 (12:53 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8782 91ce42f0-d328-0410-95d8-f526ca767f89

gui/bweb/html/bweb.js

index 0387ccca5ff9b048fac377d5fa84e92b800fa231..c1d4175e863e5843d8cf1313f84061f6689ea666 100644 (file)
@@ -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;