mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-02-03 09:56:02 -05:00
Fix Plugson Web update issue.
This commit is contained in:
parent
b8e624b0a0
commit
8e529c8559
@ -156,9 +156,11 @@
|
|||||||
if (id.startsWith('id_timeout_en_')) {
|
if (id.startsWith('id_timeout_en_')) {
|
||||||
textid = 'input[id=id_text_timeout_' + index + ']';
|
textid = 'input[id=id_text_timeout_' + index + ']';
|
||||||
value = data.timeout;
|
value = data.timeout;
|
||||||
|
data.timeouten = checked;
|
||||||
} else {
|
} else {
|
||||||
textid = 'input[id=id_text_autosel_' + index + ']';
|
textid = 'input[id=id_text_autosel_' + index + ']';
|
||||||
value = data.autosel;
|
value = data.autosel;
|
||||||
|
data.autoselen = checked;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (checked) {
|
if (checked) {
|
||||||
|
@ -156,14 +156,17 @@
|
|||||||
if (id.startsWith('id_timeout_en_')) {
|
if (id.startsWith('id_timeout_en_')) {
|
||||||
textid = 'input[id=id_text_timeout_' + index + ']';
|
textid = 'input[id=id_text_timeout_' + index + ']';
|
||||||
value = data.timeout;
|
value = data.timeout;
|
||||||
|
data.timeouten = checked;
|
||||||
} else {
|
} else {
|
||||||
textid = 'input[id=id_text_autosel_' + index + ']';
|
textid = 'input[id=id_text_autosel_' + index + ']';
|
||||||
value = data.autosel;
|
value = data.autosel;
|
||||||
|
data.autoselen = checked;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (checked) {
|
if (checked) {
|
||||||
$(textid).attr("disabled", false);
|
$(textid).attr("disabled", false);
|
||||||
$(textid).val(value);
|
$(textid).val(value);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$(textid).attr("disabled", true);
|
$(textid).attr("disabled", true);
|
||||||
$(textid).val('');
|
$(textid).val('');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user