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];
|
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());
|
||||||
|
|
Loading…
Reference in New Issue