From: Eric Bollengier Date: Fri, 23 Mar 2007 08:08:34 +0000 (+0000) Subject: ebl fix unit X-Git-Tag: Release-2.2.0~886 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3c31e6f8a224760b0280975c1d10538905c2b499;p=bacula%2Fbacula ebl fix unit git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4387 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/gui/bweb/html/bweb.js b/gui/bweb/html/bweb.js index 78b2dc9f5f..2498c3d601 100644 --- a/gui/bweb/html/bweb.js +++ b/gui/bweb/html/bweb.js @@ -94,7 +94,7 @@ function human_size(val) if (!val) { return ''; } - var unit = ['b', 'Kb', 'Mb', 'Gb', 'Tb']; + var unit = ['B', 'KB, 'MB', 'GB', 'TB']; var i=0; var format; while (val /1024 > 1) {