mirror of
https://github.com/transmission/transmission
synced 2025-03-20 18:55:32 +00:00
(trunk web) safeguard against exceptions when sorting-by-name when a torrent's name hasn't yet finished downloading.
This commit is contained in:
parent
5715bae7fd
commit
354a92c73d
1 changed files with 2 additions and 2 deletions
|
@ -285,7 +285,7 @@ Torrent.prototype =
|
|||
if (name)
|
||||
f.collatedName = name.toLowerCase();
|
||||
}
|
||||
return f.collatedName;
|
||||
return f.collatedName || '';
|
||||
},
|
||||
getCollatedTrackers: function() {
|
||||
var f = this.fields;
|
||||
|
@ -294,7 +294,7 @@ Torrent.prototype =
|
|||
if (trackers)
|
||||
f.collatedTrackers = this.collateTrackers(trackers);
|
||||
}
|
||||
return f.collatedTrackers;
|
||||
return f.collatedTrackers || '';
|
||||
},
|
||||
|
||||
/****
|
||||
|
|
Loading…
Add table
Reference in a new issue