Browse Source

BUGFIX: Do not report a progress of 100% in the Web UI unless the

torrent is really complete (closes #674349)
adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
d2754fb242
  1. 2
      src/webui/scripts/client.js

2
src/webui/scripts/client.js

@ -259,6 +259,8 @@ window.addEvent('load', function(){ @@ -259,6 +259,8 @@ window.addEvent('load', function(){
row[2] = event.priority
row[3] = event.size;
row[4] = (event.progress*100).round(1);
if(row[4] == 100.0 && event.progress != 1.0)
row[4] = 99.9;
row[5] = event.num_seeds;
row[6] = event.num_leechs;
row[7] = event.dlspeed;

Loading…
Cancel
Save