Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
8e529c85
Commit
8e529c85
authored
Jan 10, 2022
by
longpanda
Browse files
Fix Plugson Web update issue.
parent
b8e624b0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
Plugson/www/plugson_auto_install.html
Plugson/www/plugson_auto_install.html
+2
-0
Plugson/www/plugson_persistence.html
Plugson/www/plugson_persistence.html
+3
-0
No files found.
Plugson/www/plugson_auto_install.html
View file @
8e529c85
...
@@ -156,9 +156,11 @@
...
@@ -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
)
{
...
...
Plugson/www/plugson_persistence.html
View file @
8e529c85
...
@@ -156,14 +156,17 @@
...
@@ -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
(
''
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment