update metadata and remove deprecated checkbox method
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
ApiClient.getPluginConfiguration(TemplateConfig.pluginUniqueId).then(function (config) {
|
||||
$('#Options').val(config.Options).change();
|
||||
$('#AnInteger').val(config.AnInteger).change();
|
||||
$('#TrueFalseSetting').checked(config.TrueFalseSetting).checkboxradio("refresh");
|
||||
$('#TrueFalseSetting').checked = config.TrueFalseSetting;
|
||||
$('#AString').val(config.AString).change();
|
||||
Dashboard.hideLoadingMsg();
|
||||
});
|
||||
@@ -61,7 +61,7 @@
|
||||
ApiClient.getPluginConfiguration(TemplateConfig.pluginUniqueId).then(function (config) {
|
||||
config.Options = $('#Options').val();
|
||||
config.AnInteger = $('#AnInteger').val();
|
||||
config.TrueFalseSetting = $('#TrueFalseSetting').prop('checked');
|
||||
config.TrueFalseSetting = $('#TrueFalseSetting').checked;
|
||||
config.AString = $('#AString').val();
|
||||
ApiClient.updatePluginConfiguration(TemplateConfig.pluginUniqueId, config).then(function (result) {
|
||||
Dashboard.processPluginConfigurationUpdateResult(result);
|
||||
|
||||
@@ -3,20 +3,17 @@
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.1</TargetFramework>
|
||||
<RootNamespace>Jellyfin.Plugin.Template</RootNamespace>
|
||||
<AssemblyVersion>7.0.0</AssemblyVersion>
|
||||
<FileVersion>7.0.0</FileVersion>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
<FileVersion>1.0.0.0</FileVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Jellyfin.Controller" Version="10.5.*" />
|
||||
<PackageReference Include="Jellyfin.Model" Version="10.5.*" />
|
||||
<PackageReference Include="Jellyfin.Controller" Version="10.*" />
|
||||
<PackageReference Include="Jellyfin.Model" Version="10.*" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Remove="Configuration\configPage.html" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Configuration\configPage.html" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user