mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-28 04:52:28 +02:00
Added a "select" input type and "default" value for settings. (#1423)
* Added a selectbox and updated nyaasi to include two. * Added a "default" field for settings.
This commit is contained in:
@@ -527,6 +527,9 @@ function getConfigModalJson(configForm) {
|
||||
case "inputbool":
|
||||
itemEntry.value = $el.find(".setup-item-inputbool input").is(":checked");
|
||||
break;
|
||||
case "inputselect":
|
||||
itemEntry.value = $el.find(".setup-item-inputselect select").val();
|
||||
break;
|
||||
case "recaptcha":
|
||||
if (window.jackettIsLocal) {
|
||||
var version = $el.find('.jackettrecaptcha').data("version");
|
||||
|
Reference in New Issue
Block a user