mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
try to fix missing data in guide issue
This commit is contained in:
parent
8cb04d45ec
commit
8bf5fc899c
3 changed files with 22 additions and 6 deletions
|
@ -1436,7 +1436,12 @@
|
|||
$(LibraryBrowser).on('itemdeleting.editor', function (e, itemId) {
|
||||
|
||||
if (currentItem && currentItem.Id == itemId) {
|
||||
Dashboard.navigate('edititemmetadata.html');
|
||||
|
||||
if (currentItem.ParentId) {
|
||||
Dashboard.navigate('edititemmetadata.html?id=' + currentItem.ParentId);
|
||||
} else {
|
||||
Dashboard.navigate('edititemmetadata.html');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue