CC-2363: Diagnostic screen in Web UI

-Change disk numbers to start at one instead of zero.
This commit is contained in:
martin 2011-09-22 12:28:21 -04:00
parent c84690adaa
commit 3fe823f84c
1 changed files with 1 additions and 1 deletions

View File

@ -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);