mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
(trunk web) DRY up requested torrent fields
This just so happens to fix 2307. recheckProgress was missing from the inital field request.
This commit is contained in:
@@ -27,6 +27,14 @@ Torrent._ErrTrackerWarning = 1;
|
||||
Torrent._ErrTrackerError = 2;
|
||||
Torrent._ErrLocalError = 3;
|
||||
|
||||
Torrent._StaticFields = [ 'addedDate', 'announceURL', 'comment', 'creator',
|
||||
'dateCreated', 'hashString', 'id', 'isPrivate', 'name', 'totalSize' ]
|
||||
Torrent._DynamicFields = [ 'downloadedEver', 'error', 'errorString', 'eta',
|
||||
'haveUnchecked', 'haveValid', 'leechers', 'leftUntilDone', 'peersConnected',
|
||||
'peersGettingFromUs', 'peersSendingToUs', 'rateDownload', 'rateUpload',
|
||||
'recheckProgress', 'seeders', 'sizeWhenDone', 'status', 'swarmSpeed',
|
||||
'uploadedEver', 'uploadRatio', 'seedRatioLimit', 'seedRatioMode', 'downloadDir' ]
|
||||
|
||||
Torrent.prototype =
|
||||
{
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user