From 61bfe20b9426070e963db9309ed363ee767f1d84 Mon Sep 17 00:00:00 2001 From: hamza zia Date: Thu, 24 Jan 2013 17:19:57 +0500 Subject: [PATCH] added bittorrent to the ctx, fix the torrent name in angular --- js/ctrls/download.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/ctrls/download.js b/js/ctrls/download.js index e4eeda8..d719974 100644 --- a/js/ctrls/download.js +++ b/js/ctrls/download.js @@ -80,7 +80,8 @@ function(scope, rpc, utils) { _.each([ 'totalLength', 'completedLength', 'uploadLength', 'dir', 'pieceLength', 'downloadSpeed', 'uploadSpeed', 'files', - 'status', 'gid', 'bitfield', 'numPieces', 'connections' + 'status', 'gid', 'bitfield', 'numPieces', 'connections', + 'bittorrent' ], function(e) { ctx[e] = d[e]; });