diff --git a/web/javascript/torrent.js b/web/javascript/torrent.js index c16d88f8a..08ef57672 100644 --- a/web/javascript/torrent.js +++ b/web/javascript/torrent.js @@ -287,7 +287,6 @@ Torrent.prototype = if (data.comment) this._comment = data.comment; if (data.creator) this._creator = data.creator; if (data.dateCreated) this._creator_date = data.dateCreated; - if (data.leftUntilDone) this._leftUntilDone = data.leftUntilDone; if (data.sizeWhenDone) this._sizeWhenDone = data.sizeWhenDone; if (data.path) this._torrent_file = data.path;//FIXME if (data.name) { @@ -299,6 +298,7 @@ Torrent.prototype = this._id = data.id; this._completed = data.haveUnchecked + data.haveValid; this._verified = data.haveValid; + this._leftUntilDone = data.leftUntilDone; this._download_total = data.downloadedEver; this._upload_total = data.uploadedEver; this._download_speed = data.rateDownload;