Module: deluge
Branch: master
Commit: 3e4f2f94ddbe75485415805e76d3e73fa77ec7c7

Author: Damien Churchill <[email protected]>
Date:   Tue Mar 23 14:36:34 2010 +0000

fix the progress bar usage

---

 .../ui/web/js/deluge-all/Deluge.Details.Status.js  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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 9570522..bef7704 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());

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to