From e3747af1090644fb2fa7478a05a8b748c1a47fc1 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 21 Jun 2007 16:29:02 +0000 Subject: [PATCH] ebl fix javascript loop git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5054 91ce42f0-d328-0410-95d8-f526ca767f89 --- gui/bweb/html/bweb.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) { -- 2.39.5