From: Eric Bollengier Date: Thu, 21 Jun 2007 16:29:02 +0000 (+0000) Subject: ebl fix javascript loop X-Git-Tag: Release-2.2.0~256 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e3747af1090644fb2fa7478a05a8b748c1a47fc1;p=bacula%2Fbacula ebl fix javascript loop git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5054 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/gui/bweb/html/bweb.js b/gui/bweb/html/bweb.js index bb18adb656..7d2c0e5f0e 100644 --- a/gui/bweb/html/bweb.js +++ b/gui/bweb/html/bweb.js @@ -232,7 +232,9 @@ function percent_usage(value, parent) return; } - if (value <= 0.001) { + if (value >= 101) { + return; + } else if (value <= 0.001) { type = "Empty"; value = 0; } else if (value <= 40) {