mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
- Remove torrent from selection if it gets filtered and becomes hidden (Web UI)
This commit is contained in:
@@ -372,6 +372,15 @@ var dynamicTable = new Class ({
|
||||
}
|
||||
}
|
||||
};
|
||||
} else {
|
||||
// Row was hidden, check if it was selected
|
||||
// and unselect it if it was
|
||||
if(this.cur.contains(id)) {
|
||||
// Remove from selection
|
||||
this.cur.erase(id);
|
||||
// Remove selected style
|
||||
tr.removeClass('selected');
|
||||
}
|
||||
}
|
||||
return true;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user