summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2011-11-18 01:07:39 +0000
committerCalum Lind <calumlind+deluge@gmail.com>2011-11-20 18:00:18 +0000
commit714b7f3c55905db913c84e2aa0053923b5a721cb (patch)
tree278528a03332d250a9ac58e84e51fdcc5769979b
parentf0c4a4c76604ddb9b7fdf20f9d9f1c5f7111df75 (diff)
downloaddeluge-714b7f3c5.zip
deluge-714b7f3c5.tar.gz
deluge-714b7f3c5.tar.bz2
Fix #1960 : Web UI statusbar shows total_payload_download for upload
-rw-r--r--deluge/ui/web/js/deluge-all/details/StatusTab.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/ui/web/js/deluge-all/details/StatusTab.js b/deluge/ui/web/js/deluge-all/details/StatusTab.js
index ba99a2a..cb40be9 100644
--- a/deluge/ui/web/js/deluge-all/details/StatusTab.js
+++ b/deluge/ui/web/js/deluge-all/details/StatusTab.js
@@ -114,7 +114,7 @@ Deluge.details.StatusTab = Ext.extend(Ext.Panel, {
data.auto_managed = _((status.is_auto_managed) ? 'True' : 'False');
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) {
this.fields[field].innerHTML = data[field];