From d2754fb2429106e3f1af4c478d14c61177ea0346 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Fri, 12 Nov 2010 17:16:44 +0000 Subject: [PATCH] BUGFIX: Do not report a progress of 100% in the Web UI unless the torrent is really complete (closes #674349) --- src/webui/scripts/client.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/webui/scripts/client.js b/src/webui/scripts/client.js index 46cbfeb18..1c876bab4 100644 --- a/src/webui/scripts/client.js +++ b/src/webui/scripts/client.js @@ -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;