From a13192451a35f2f4788e936b6e7274af646c4412 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 7 Nov 2008 17:48:39 +0000 Subject: [PATCH] ebl tweak the fix git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8015 91ce42f0-d328-0410-95d8-f526ca767f89 --- gui/bweb/lang/en/tpl/display_stats.tpl | 2 +- gui/bweb/lang/es/tpl/display_stats.tpl | 2 +- gui/bweb/lang/fr/tpl/display_stats.tpl | 2 +- gui/bweb/tpl/display_stats.tpl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gui/bweb/lang/en/tpl/display_stats.tpl b/gui/bweb/lang/en/tpl/display_stats.tpl index 60622295ce..8c045f6bc7 100644 --- a/gui/bweb/lang/en/tpl/display_stats.tpl +++ b/gui/bweb/lang/en/tpl/display_stats.tpl @@ -17,7 +17,7 @@ var data = new Array(); var nb_job=0; var nb_err=0; -var t_ok = Math.abs((nb_job - nb_err)/(nb_job + nb_err + 0.0001)*100); +var t_ok = Math.abs(nb_job/(nb_job + nb_err + 0.0001)*100); var nb_byte = 0; data.push( new Array( "", diff --git a/gui/bweb/lang/es/tpl/display_stats.tpl b/gui/bweb/lang/es/tpl/display_stats.tpl index da9a929052..eb37aef4e3 100644 --- a/gui/bweb/lang/es/tpl/display_stats.tpl +++ b/gui/bweb/lang/es/tpl/display_stats.tpl @@ -17,7 +17,7 @@ var data = new Array(); var nb_job=0; var nb_err=0; -var t_ok = Math.abs((nb_job - nb_err)/(nb_job + nb_err + 0.0001)*100); +var t_ok = Math.abs(nb_job/(nb_job + nb_err + 0.0001)*100); var nb_byte = 0; data.push( new Array( "", diff --git a/gui/bweb/lang/fr/tpl/display_stats.tpl b/gui/bweb/lang/fr/tpl/display_stats.tpl index 65fd1293d5..0a3adcaeb2 100644 --- a/gui/bweb/lang/fr/tpl/display_stats.tpl +++ b/gui/bweb/lang/fr/tpl/display_stats.tpl @@ -17,7 +17,7 @@ var data = new Array(); var nb_job=0; var nb_err=0; -var t_ok = Math.abs((nb_job - nb_err)/(nb_job + nb_err + 0.0001)*100); +var t_ok = Math.abs(nb_job/(nb_job + nb_err + 0.0001)*100); var nb_byte = 0; data.push( new Array( "", diff --git a/gui/bweb/tpl/display_stats.tpl b/gui/bweb/tpl/display_stats.tpl index 0de7d60c97..fc1bce5aaa 100644 --- a/gui/bweb/tpl/display_stats.tpl +++ b/gui/bweb/tpl/display_stats.tpl @@ -17,7 +17,7 @@ var data = new Array(); var nb_job=0; var nb_err=0; -var t_ok = Math.abs((nb_job - nb_err)/(nb_job + nb_err + 0.0001)*100); +var t_ok = Math.abs(nb_job/(nb_job + nb_err + 0.0001)*100); var nb_byte = 0; data.push( new Array( "", -- 2.39.5