fix the progress bar usage

This commit is contained in:
Damien Churchill 2010-03-23 14:36:34 +00:00
parent d39b5bd071
commit 3e4f2f94dd
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ Deluge.details.StatusTab = Ext.extend(Ext.Panel, {
this.fields[field].innerHTML = data[field]; this.fields[field].innerHTML = data[field];
} }
var text = status.state + ' ' + status.progress.toFixed(2) + '%'; 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()); deluge.details.add(new Deluge.details.StatusTab());