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

torrent is really complete (closes #674349)
This commit is contained in:
Christophe Dumez 2010-11-12 17:16:44 +00:00
parent 30ba1a428e
commit d2754fb242

View file

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