Fix #1960 : Web UI statusbar shows total_payload_download for upload
This commit is contained in:
parent
46ab11961e
commit
ead734cbf0
|
@ -116,7 +116,7 @@ Deluge.details.StatusTab = Ext.extend(Ext.Panel, {
|
||||||
data.auto_managed = _((status.is_auto_managed) ? 'True' : 'False');
|
data.auto_managed = _((status.is_auto_managed) ? 'True' : 'False');
|
||||||
|
|
||||||
data.downloaded += ' (' + ((status.total_payload_download) ? fsize(status.total_payload_download) : '0.0 KiB') + ')';
|
data.downloaded += ' (' + ((status.total_payload_download) ? fsize(status.total_payload_download) : '0.0 KiB') + ')';
|
||||||
data.uploaded += ' (' + ((status.total_payload_download) ? fsize(status.total_payload_download): '0.0 KiB') + ')';
|
data.uploaded += ' (' + ((status.total_payload_upload) ? fsize(status.total_payload_upload): '0.0 KiB') + ')';
|
||||||
|
|
||||||
for (var field in this.fields) {
|
for (var field in this.fields) {
|
||||||
this.fields[field].innerHTML = data[field];
|
this.fields[field].innerHTML = data[field];
|
||||||
|
|
Loading…
Reference in New Issue