mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
- Remove torrent from selection if it gets filtered and becomes hidden (Web UI)
This commit is contained in:
parent
b13c7abca0
commit
f9a5afe446
1 changed files with 9 additions and 0 deletions
|
@ -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;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue