Changeset 12754


Ignore:
Timestamp:
Aug 26, 2011, 6:10:53 PM (12 years ago)
Author:
jordan
Message:

(trunk web) remove an unneccesary field: the "trackerStats" field is a superset of of the "trackers" field, so our Torrent objects don't need to keep both -- the former can replace the latter.

File:
1 edited

Legend:

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

    r12753 r12754  
    184184                                case 'trackerStats': // 'trackerStats' is a superset of 'trackers'...
    185185                                        changed |= this.setField(this.fields,'trackers',data[key]);
     186                                        break;
    186187                                case 'trackers': // ...so only save 'trackers' if we don't have it already
    187188                                        if (!(key in this.fields))
Note: See TracChangeset for help on using the changeset viewer.