mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove games
This commit is contained in:
parent
0474bcfa8f
commit
8e76f60a10
85 changed files with 47 additions and 515 deletions
|
@ -56,10 +56,6 @@ define(['dialogHelper', 'loading', 'connectionManager', 'require', 'globalize',
|
|||
return;
|
||||
}
|
||||
|
||||
if (currentItem && currentItem.GameSystem) {
|
||||
lookupInfo.GameSystem = currentItem.GameSystem;
|
||||
}
|
||||
|
||||
lookupInfo = {
|
||||
SearchInfo: lookupInfo
|
||||
};
|
||||
|
@ -161,10 +157,6 @@ define(['dialogHelper', 'loading', 'connectionManager', 'require', 'globalize',
|
|||
lines.push(identifyResult.ProductionYear);
|
||||
}
|
||||
|
||||
if (identifyResult.GameSystem) {
|
||||
lines.push(identifyResult.GameSystem);
|
||||
}
|
||||
|
||||
var resultHtml = lines.join('<br/>');
|
||||
|
||||
if (identifyResult.ImageUrl) {
|
||||
|
@ -230,9 +222,6 @@ define(['dialogHelper', 'loading', 'connectionManager', 'require', 'globalize',
|
|||
if (currentItemType === "MusicAlbum") {
|
||||
numLines++;
|
||||
}
|
||||
else if (currentItemType === "Game") {
|
||||
numLines++;
|
||||
}
|
||||
|
||||
var lines = [result.Name];
|
||||
|
||||
|
@ -242,9 +231,6 @@ define(['dialogHelper', 'loading', 'connectionManager', 'require', 'globalize',
|
|||
if (result.ProductionYear) {
|
||||
lines.push(result.ProductionYear);
|
||||
}
|
||||
if (result.GameSystem) {
|
||||
lines.push(result.GameSystem);
|
||||
}
|
||||
|
||||
for (var i = 0; i < numLines; i++) {
|
||||
|
||||
|
@ -377,7 +363,7 @@ define(['dialogHelper', 'loading', 'connectionManager', 'require', 'globalize',
|
|||
|
||||
dlg.innerHTML = html;
|
||||
|
||||
// Has to be assigned a z-index after the call to .open()
|
||||
// Has to be assigned a z-index after the call to .open()
|
||||
dlg.addEventListener('close', onDialogClosed);
|
||||
|
||||
if (layoutManager.tv) {
|
||||
|
@ -525,4 +511,4 @@ define(['dialogHelper', 'loading', 'connectionManager', 'require', 'globalize',
|
|||
});
|
||||
}
|
||||
};
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue