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

update dialogs

This commit is contained in:
Luke Pulverenti 2016-08-29 03:12:24 -04:00
parent 31449f85de
commit 7acfaee309
15 changed files with 86 additions and 143 deletions

View file

@ -303,7 +303,9 @@
}
}
else if (item.IsFolder) {
return id ? "itemlist.html?parentId=" + id : "#";
if (item.Type != "BoxSet") {
return id ? "itemlist.html?parentId=" + id : "#";
}
}
if (item.Type == 'CollectionFolder') {

View file

@ -79,7 +79,6 @@
shape: "backdrop",
preferThumb: true,
context: 'movies',
lazy: true,
overlayPlayButton: true
});
}
@ -90,7 +89,6 @@
shape: "backdrop",
preferThumb: true,
context: 'movies',
lazy: true,
cardLayout: true,
showTitle: true,
showYear: true
@ -102,8 +100,7 @@
items: result.Items,
shape: "banner",
preferBanner: true,
context: 'movies',
lazy: true
context: 'movies'
});
}
else if (viewStyle == "List") {
@ -122,7 +119,6 @@
context: 'movies',
showTitle: true,
showYear: true,
lazy: true,
cardLayout: true
});
}
@ -134,7 +130,6 @@
shape: "portrait",
context: 'movies',
centerText: true,
lazy: true,
overlayPlayButton: true
});
}

View file

@ -1229,7 +1229,7 @@ var AppInfo = {};
inputManager: embyWebComponentsBowerPath + "/inputmanager",
qualityoptions: embyWebComponentsBowerPath + "/qualityoptions",
hammer: bowerPath + "/hammerjs/hammer.min",
pageJs: embyWebComponentsBowerPath + '/page.js/page',
pageJs: embyWebComponentsBowerPath + '/pagejs/page',
focusManager: embyWebComponentsBowerPath + "/focusmanager",
datetime: embyWebComponentsBowerPath + "/datetime",
globalize: embyWebComponentsBowerPath + "/globalize",
@ -2799,8 +2799,12 @@ var AppInfo = {};
return navigator.serviceWorker.ready;
}).then(function (reg) {
if (!reg.sync) {
return Promise.resovle();
}
// https://github.com/WICG/BackgroundSync/blob/master/explainer.md
return reg.sync.register('emby-sync').then(function() {
return reg.sync.register('emby-sync').then(function () {
window.SyncRegistered = Dashboard.isConnectMode();
});
});