Changeset 8427


Ignore:
Timestamp:
May 19, 2009, 1:19:51 PM (12 years ago)
Author:
kjg
Message:

(trunk web) fix _leftUntilDone not updating when it hits 0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/javascript/torrent.js

    r8310 r8427  
    288288                if (data.creator)       this._creator       = data.creator;
    289289                if (data.dateCreated)   this._creator_date  = data.dateCreated;
    290                 if (data.leftUntilDone) this._leftUntilDone = data.leftUntilDone;
    291290                if (data.sizeWhenDone)  this._sizeWhenDone  = data.sizeWhenDone;
    292291                if (data.path)          this._torrent_file  = data.path;//FIXME
     
    300299                this._completed             = data.haveUnchecked + data.haveValid;
    301300                this._verified              = data.haveValid;
     301                this._leftUntilDone         = data.leftUntilDone;
    302302                this._download_total        = data.downloadedEver;
    303303                this._upload_total          = data.uploadedEver;
Note: See TracChangeset for help on using the changeset viewer.