Changeset 12748


Ignore:
Timestamp:
Aug 26, 2011, 1:27:16 AM (10 years ago)
Author:
jordan
Message:

(trunk web) when compact mode is toggled, force the torrent list to rebuild even if no torrents have changed

File:
1 edited

Legend:

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

    r12747 r12748  
    20072007
    20082008                // maybe rebuild the rows
    2009                 if (!this.matchesTorrentList(keep))
     2009                if (this._force_refilter || !this.matchesTorrentList(keep))
    20102010                {
    20112011                        var old_sel = this.getSelectedTorrents();
     
    20402040                        if (old_sel.length !== new_sel_count)
    20412041                                this.selectionChanged();
     2042
     2043                        delete this._force_refilter;
    20422044                }
    20432045
     
    22402242                this.torrentRenderer = compact ? new TorrentRendererCompact()
    22412243                                               : new TorrentRendererFull();
     2244                this._force_refilter = true;
    22422245                this.refilter();
    22432246        }
Note: See TracChangeset for help on using the changeset viewer.