1
0
Fork 0
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:
Luke Pulverenti 2015-03-19 01:56:55 -04:00
parent 8cb04d45ec
commit 8bf5fc899c
3 changed files with 22 additions and 6 deletions

View file

@ -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');
}
}
});