mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-02 09:55:55 +00:00
- Remove torrent from selection if it gets filtered and becomes hidden (Web UI)
This commit is contained in:
parent
b13c7abca0
commit
f9a5afe446
@ -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…
x
Reference in New Issue
Block a user