update xmltv config page
This commit is contained in:
@@ -33,7 +33,9 @@
|
||||
ApiClient.getServerConfiguration().then(function (config) {
|
||||
|
||||
config.EnableFolderView = form.querySelector('.chkFolderView').checked;
|
||||
config.EnableGroupingIntoCollections = form.querySelector('.chkGroupMoviesIntoCollections').checked;
|
||||
config.EnableGroupingIntoCollections = form.querySelector('.chkDisplaySpecialsWithinSeasons').checked;
|
||||
config.DisplaySpecialsWithinSeasons = form.querySelector('.chkGroupMoviesIntoCollections').checked;
|
||||
|
||||
ApiClient.updateServerConfiguration(config).then(Dashboard.processServerConfigurationUpdateResult);
|
||||
});
|
||||
|
||||
@@ -45,6 +47,7 @@
|
||||
ApiClient.getServerConfiguration().then(function (config) {
|
||||
view.querySelector('.chkFolderView').checked = config.EnableFolderView;
|
||||
view.querySelector('.chkGroupMoviesIntoCollections').checked = config.EnableGroupingIntoCollections;
|
||||
view.querySelector('.chkDisplaySpecialsWithinSeasons').checked = config.DisplaySpecialsWithinSeasons;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
define(['jQuery'], function ($) {
|
||||
define(['events'], function (events) {
|
||||
|
||||
function onListingsSubmitted() {
|
||||
|
||||
Dashboard.navigate('livetvstatus.html');
|
||||
}
|
||||
|
||||
function init(page, type, providerId) {
|
||||
|
||||
@@ -9,6 +14,8 @@
|
||||
var instance = new factory(page, providerId, {
|
||||
});
|
||||
|
||||
events.on(instance, 'submitted', onListingsSubmitted);
|
||||
|
||||
instance.init();
|
||||
});
|
||||
}
|
||||
@@ -30,7 +37,7 @@
|
||||
xhr.send();
|
||||
}
|
||||
|
||||
$(document).on('pageshow', "#liveTvGuideProviderPage", function () {
|
||||
pageIdOn('pageshow', "liveTvGuideProviderPage", function () {
|
||||
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user