Skip to content

Commit

Permalink
Removing sections from configPage.html which were part of the tutoria…
Browse files Browse the repository at this point in the history
…l. These were no longer valid after my changes.
  • Loading branch information
ankenyr committed Apr 13, 2020
1 parent ede845f commit e74c250
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Jellyfin.Plugin.YoutubeMetadata/Configuration/configPage.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<div class="inputContainer">
<label class="inputeLabel inputLabelUnfocused" for="apikey">API Key</label>
<input id="apikey" name="apikey" type="text" is="emby-input" />
<div class="fieldDescription">Another Description</div>
</div>
<div>
<button is="emby-button" type="submit" class="raised button-submit block emby-button">
Expand All @@ -30,9 +29,6 @@
$('#YoutubeMetadataConfigPage').on('pageshow', function () {
Dashboard.showLoadingMsg();
ApiClient.getPluginConfiguration(YoutubeMetadataConfigPage.pluginUniqueId).then(function (config) {
$('#Options').val(config.Options).change();
$('#AnInteger').val(config.AnInteger).change();
$('#TrueFalseSetting').checked(config.TrueFalseSetting).checkboxradio("refresh");
$('#apikey').val(config.apikey).change();
Dashboard.hideLoadingMsg();
});
Expand All @@ -41,9 +37,6 @@
$('#YoutubeMetadataConfigForm').on('submit', function () {
Dashboard.showLoadingMsg();
ApiClient.getPluginConfiguration(YoutubeMetadataConfigPage.pluginUniqueId).then(function (config) {
config.Options = $('#Options').val();
config.AnInteger = $('#AnInteger').val();
config.TrueFalseSetting = $('#TrueFalseSetting').prop('checked');
config.apikey = $('#apikey').val();
ApiClient.updatePluginConfiguration(YoutubeMetadataConfigPage.pluginUniqueId, config).then(function (result) {
Dashboard.processPluginConfigurationUpdateResult(result);
Expand Down

0 comments on commit e74c250

Please sign in to comment.