From 3fe823f84c9f87d4ccdd0aee06e058262b4d0bca Mon Sep 17 00:00:00 2001 From: martin Date: Thu, 22 Sep 2011 12:28:21 -0400 Subject: [PATCH] CC-2363: Diagnostic screen in Web UI -Change disk numbers to start at one instead of zero. --- airtime_mvc/public/js/airtime/status/status.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/public/js/airtime/status/status.js b/airtime_mvc/public/js/airtime/status/status.js index 90e87516c..c58809b90 100644 --- a/airtime_mvc/public/js/airtime/status/status.js +++ b/airtime_mvc/public/js/airtime/status/status.js @@ -26,7 +26,7 @@ function generatePartitions(partitions){ var spaceUsedGb = sprintf("%01.1f", spaceUsed/Math.pow(10, 9)); var totalSpaceGb = sprintf("%01.1f", totalSpace/Math.pow(10, 9)); - var row = sprintf(rowTemplate, i, i, spaceUsedGb, totalSpaceGb, percUsed, percUsed); + var row = sprintf(rowTemplate, i+1, i, spaceUsedGb, totalSpaceGb, percUsed, percUsed); var tr = $(row); lastElement.after(tr);