Changeset 12722
- Timestamp:
- Aug 24, 2011, 12:54:10 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/javascript/transmission.js
r12721 r12722 1670 1670 }, 1671 1671 1672 /*1673 * Set the alternating background colors for torrents1674 */1675 setTorrentBgColors: function()1676 {1677 for (var i=0, row; row=this._rows[i]; ++i)1678 row.setEven((i+1) % 2 == 0);1679 },1680 1681 1672 updateStatusbar: function() 1682 1673 { … … 2037 2028 var is_selected = sel.indexOf(tor) !== -1; 2038 2029 var row = new TorrentRow(this.torrentRenderer, this, tor, is_selected); 2030 row.setEven((i+1) % 2 == 0); 2039 2031 if (is_selected) 2040 2032 new_sel_count++; … … 2055 2047 2056 2048 // sync gui 2057 this.setTorrentBgColors();2058 2049 this.updateStatusbar(); 2059 2050 if (sel.length !== new_sel_count)
Note: See TracChangeset
for help on using the changeset viewer.