added bittorrent to the ctx, fix the torrent name in angular
This commit is contained in:
parent
8de82139cb
commit
61bfe20b94
@ -80,7 +80,8 @@ function(scope, rpc, utils) {
|
|||||||
_.each([
|
_.each([
|
||||||
'totalLength', 'completedLength', 'uploadLength', 'dir',
|
'totalLength', 'completedLength', 'uploadLength', 'dir',
|
||||||
'pieceLength', 'downloadSpeed', 'uploadSpeed', 'files',
|
'pieceLength', 'downloadSpeed', 'uploadSpeed', 'files',
|
||||||
'status', 'gid', 'bitfield', 'numPieces', 'connections'
|
'status', 'gid', 'bitfield', 'numPieces', 'connections',
|
||||||
|
'bittorrent'
|
||||||
], function(e) {
|
], function(e) {
|
||||||
ctx[e] = d[e];
|
ctx[e] = d[e];
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user