Fix #1960 : Web UI statusbar shows total_payload_download for upload

This commit is contained in:
Calum Lind 2011-11-18 01:07:39 +00:00
parent 46ab11961e
commit ead734cbf0
1 changed files with 11 additions and 11 deletions

View File

@ -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];