1
0
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:
Christophe Dumez 2009-12-04 20:45:16 +00:00
parent b13c7abca0
commit f9a5afe446

View File

@ -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;
},