mirror of
https://github.com/transmission/transmission.git
synced 2025-12-23 11:58:36 +00:00
(trunk web) in tr.refilter(), instead of calling the expensive tr.getSelectedRows(), use a cheaper jQuery equivalent.
This commit is contained in:
@@ -345,18 +345,16 @@ TorrentRendererCompact.prototype =
|
||||
*****
|
||||
****/
|
||||
|
||||
function TorrentRow(view, controller, torrent, selected)
|
||||
function TorrentRow(view, controller, torrent)
|
||||
{
|
||||
this.initialize(view, controller, torrent, selected);
|
||||
this.initialize(view, controller, torrent);
|
||||
}
|
||||
TorrentRow.prototype =
|
||||
{
|
||||
initialize: function(view, controller, torrent, selected) {
|
||||
initialize: function(view, controller, torrent) {
|
||||
this._view = view;
|
||||
this._element = view.createRow();
|
||||
this.setTorrent(controller, torrent);
|
||||
if (selected)
|
||||
this.setSelected(selected);
|
||||
this.render(controller);
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user