mirror of
https://github.com/Radarr/Radarr
synced 2024-12-27 02:09:59 +00:00
Fixed: Details will be removed when a series is deleted and details were open.
This commit is contained in:
parent
a1fa6287c7
commit
840dec0d41
1 changed files with 10 additions and 2 deletions
|
@ -207,8 +207,16 @@
|
||||||
|
|
||||||
//After we delete a series do this...
|
//After we delete a series do this...
|
||||||
function afterDelete(seriesId) {
|
function afterDelete(seriesId) {
|
||||||
$('.' + seriesId).hide();
|
var row = $('.' + seriesId);
|
||||||
$('.details_' + seriesId).hide();
|
|
||||||
|
if ($(row).hasClass('details-opened')) {
|
||||||
|
var nextRow = $(row).next('tr');
|
||||||
|
if($(nextRow).children('.Details').length > 0) {
|
||||||
|
$(nextRow).hide();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$(row).hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
//After we save do this...
|
//After we save do this...
|
||||||
|
|
Loading…
Reference in a new issue