name fix for angular
This commit is contained in:
parent
fd9b5207af
commit
bd8a1ad87f
|
@ -139,7 +139,7 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td data-toggle="collapse" data-target=".download-detail .collapse" class="download-overview">
|
||||
<b class="download-name">name {{download.gid}}</b>
|
||||
<b class="download-name">{{download.name}}</b>
|
||||
|
||||
<ul class="stats hidden-phone pull-right">
|
||||
<li class="label label-success">Time left: <span class="download-eta">{{(download.totalLength-download.completedLength)/download.downloadSpeed}}</span></li>
|
||||
|
|
|
@ -66,7 +66,7 @@ function(scope, rpc, utils) {
|
|||
ctx[p] = d[p];
|
||||
});
|
||||
|
||||
var path = (data.files[0].path || data.files[0].uris[0].uri);
|
||||
var path = (d.files[0].path || d.files[0].uris[0].uri);
|
||||
ctx.name = utils.getFileName(path);
|
||||
|
||||
if (d.bittorrent && d.bittorrent.info) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user