mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fixes #289 - Rename "Season 0" to "Specials"?
This commit is contained in:
parent
ed0f918ac6
commit
5ce7645ca1
2 changed files with 8 additions and 0 deletions
|
@ -33,6 +33,10 @@
|
||||||
Supply a custom path for images by name. MB server must have write access to this folder.
|
Supply a custom path for images by name. MB server must have write access to this folder.
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<label for="txtSeasonZeroName">Season 0 display name: </label>
|
||||||
|
<input type="text" id="txtSeasonZeroName" name="txtSeasonZeroName" required="required" />
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<button type="submit" data-theme="b" data-icon="ok">
|
<button type="submit" data-theme="b" data-icon="ok">
|
||||||
Save
|
Save
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
$('#txtItemsByNamePath', page).removeAttr("required");
|
$('#txtItemsByNamePath', page).removeAttr("required");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$('#txtSeasonZeroName', page).val(config.SeasonZeroDisplayName);
|
||||||
|
|
||||||
Dashboard.hideLoadingMsg();
|
Dashboard.hideLoadingMsg();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -87,6 +89,8 @@
|
||||||
config.ItemsByNamePath = '';
|
config.ItemsByNamePath = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
config.SeasonZeroDisplayName = $('#txtSeasonZeroName', form).val();
|
||||||
|
|
||||||
ApiClient.updateServerConfiguration(config).done(Dashboard.processServerConfigurationUpdateResult);
|
ApiClient.updateServerConfiguration(config).done(Dashboard.processServerConfigurationUpdateResult);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue