From c52ee8392501ee916d85fd9da75aa08a8f014493 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Tue, 12 Jul 2011 23:42:11 +0200 Subject: removed server_methods, please test everything entirely --- module/web/media/default/js/funktions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/web/media/default/js/funktions.js') diff --git a/module/web/media/default/js/funktions.js b/module/web/media/default/js/funktions.js index 8d9d332b3..529b7056b 100644 --- a/module/web/media/default/js/funktions.js +++ b/module/web/media/default/js/funktions.js @@ -1,6 +1,6 @@ // JavaScript Document -function HumanFileSize(size) { - var filesizename = new Array("B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"); +function humanFileSize(size) { + var filesizename = new Array("B", "KiB", "MiB", "GiB", "TiB", "PiB"); var loga = Math.log(size) / Math.log(1024); var i = Math.floor(loga); var a = Math.pow(1024, i); -- cgit v1.2.3