1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

fixes #712 - multi-version grouping

This commit is contained in:
Luke Pulverenti 2014-03-20 23:31:40 -04:00
parent 902d3a3649
commit 02a810cf1e
12 changed files with 163 additions and 304 deletions

View file

@ -208,7 +208,9 @@
items.push({ type: 'link', text: 'Images', url: 'edititemimages.html?id=' + id });
if (elem.getAttribute('data-alternateversioncount') != '0') {
var versionCount = parseInt(elem.getAttribute('data-mediaversioncount') || '0');
if (versionCount > 1) {
items.push({ type: 'divider' });
items.push({ type: 'header', text: 'Manage' });