mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-07 00:55:28 +00:00
fix the progress bar usage
This commit is contained in:
parent
d39b5bd071
commit
3e4f2f94dd
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user