]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl fix javascript loop
authorEric Bollengier <eric@eb.homelinux.org>
Thu, 21 Jun 2007 16:29:02 +0000 (16:29 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 21 Jun 2007 16:29:02 +0000 (16:29 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5054 91ce42f0-d328-0410-95d8-f526ca767f89

gui/bweb/html/bweb.js

index bb18adb656fc110588d880dbfe2836978383afc5..7d2c0e5f0e247176dfbdd0248c24ded9d00d58a6 100644 (file)
@@ -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) {