mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
updated nuget
This commit is contained in:
parent
f7e9566f8f
commit
2cae955857
3 changed files with 6 additions and 4 deletions
|
@ -19,7 +19,7 @@
|
||||||
<ul data-role="listview" class="ulForm">
|
<ul data-role="listview" class="ulForm">
|
||||||
<li>
|
<li>
|
||||||
<label for="selectActiveService">${LabelActiveService}</label>
|
<label for="selectActiveService">${LabelActiveService}</label>
|
||||||
<select id="selectActiveService" data-mini="true">
|
<select id="selectActiveService" data-mini="true" required="required">
|
||||||
</select>
|
</select>
|
||||||
<div class="fieldDescription">${LabelActiveServiceHelp}</div>
|
<div class="fieldDescription">${LabelActiveServiceHelp}</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -130,13 +130,14 @@
|
||||||
if (s.Path) {
|
if (s.Path) {
|
||||||
itemHtml += '<a href="#" data-icon="delete" class="btnDelete" data-index="' + s.Index + '">Delete</a>';
|
itemHtml += '<a href="#" data-icon="delete" class="btnDelete" data-index="' + s.Index + '">Delete</a>';
|
||||||
} else {
|
} else {
|
||||||
itemHtml += '<a href="#" data-icon="delete" style="visibility:hidden;" class="btnDelete" data-index="' + s.Index + '">Delete</a>';
|
itemHtml += '<a href="#" data-icon="delete" style="display:none;" class="btnDelete" data-index="' + s.Index + '">Delete</a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
itemHtml += '</li>';
|
itemHtml += '</li>';
|
||||||
|
|
||||||
return itemHtml;
|
return itemHtml;
|
||||||
});
|
|
||||||
|
}).join('');
|
||||||
|
|
||||||
html += '</ul>';
|
html += '</ul>';
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
return '<option value="' + s.Name + '">' + s.Name + '</option>';
|
return '<option value="' + s.Name + '">' + s.Name + '</option>';
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#selectActiveService', page).html(serviceOptions).selectmenu('refresh');
|
$('#selectActiveService', page).html(serviceOptions).val(config.LiveTvOptions.ActiveService || '').selectmenu('refresh');
|
||||||
|
|
||||||
Dashboard.hideLoadingMsg();
|
Dashboard.hideLoadingMsg();
|
||||||
}
|
}
|
||||||
|
@ -53,6 +53,7 @@
|
||||||
|
|
||||||
|
|
||||||
config.LiveTvOptions.GuideDays = $('#selectGuideDays', form).val() || null;
|
config.LiveTvOptions.GuideDays = $('#selectGuideDays', form).val() || null;
|
||||||
|
config.LiveTvOptions.ActiveService = $('#selectActiveService', form).val() || null;
|
||||||
|
|
||||||
ApiClient.updateServerConfiguration(config).done(Dashboard.processServerConfigurationUpdateResult);
|
ApiClient.updateServerConfiguration(config).done(Dashboard.processServerConfigurationUpdateResult);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue