From 3e4f2f94ddbe75485415805e76d3e73fa77ec7c7 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Tue, 23 Mar 2010 14:36:34 +0000 Subject: [PATCH] fix the progress bar usage --- deluge/ui/web/js/deluge-all/Deluge.Details.Status.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/web/js/deluge-all/Deluge.Details.Status.js b/deluge/ui/web/js/deluge-all/Deluge.Details.Status.js index 9570522a6..bef770463 100644 --- a/deluge/ui/web/js/deluge-all/Deluge.Details.Status.js +++ b/deluge/ui/web/js/deluge-all/Deluge.Details.Status.js @@ -116,7 +116,7 @@ Deluge.details.StatusTab = Ext.extend(Ext.Panel, { this.fields[field].innerHTML = data[field]; } var text = status.state + ' ' + status.progress.toFixed(2) + '%'; - this.progressBar.updateProgress(status.progress, text); + this.progressBar.updateProgress(status.progress / 100.0, text); } }); deluge.details.add(new Deluge.details.StatusTab());