Make sure the progress is not 100% unless the file is complete

This commit is contained in:
Christophe Dumez
2011-01-24 16:50:23 +00:00
parent 536f275ca3
commit 1b0de21b52
3 changed files with 9 additions and 0 deletions

View File

@@ -285,6 +285,8 @@ var createPriorityCombo = function(id, selected_prio) {
row[1] = file.name;
row[2] = file.size;
row[3] = (file.progress*100).round(1);
if(row[3] == 100.0 && file.progress < 1.0)
row[3] = 99.9
row[4] = file.priority;
fTable.insertRow(i, row);
i++;