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

added new item by name filters

This commit is contained in:
Luke Pulverenti 2014-01-14 15:03:35 -05:00
parent 48d1641783
commit 32386e817b
9 changed files with 62 additions and 105 deletions

View file

@ -1,8 +1,8 @@
(function ($, document, window) {
function loadPage(page, config, tvServices) {
function loadPage(page, config, liveTvInfo) {
if (tvServices.length) {
if (liveTvInfo.Services.length) {
$('.liveTvSettingsForm', page).show();
$('.noLiveTvServices', page).hide();
@ -25,7 +25,7 @@
var promise1 = ApiClient.getServerConfiguration();
var promise2 = ApiClient.getLiveTvServices();
var promise2 = ApiClient.getLiveTvInfo();
$.when(promise1, promise2).done(function (response1, response2) {