"git@developer.sourcefind.cn:zhaoyu6/sglang.git" did not exist on "528bd1ed856e4a9225eef3a4e9eeddff41c8a940"
Commit 8e529c85 authored by longpanda's avatar longpanda
Browse files

Fix Plugson Web update issue.

parent b8e624b0
......@@ -156,9 +156,11 @@
if (id.startsWith('id_timeout_en_')) {
textid = 'input[id=id_text_timeout_' + index + ']';
value = data.timeout;
data.timeouten = checked;
} else {
textid = 'input[id=id_text_autosel_' + index + ']';
value = data.autosel;
data.autoselen = checked;
}
if (checked) {
......
......@@ -156,14 +156,17 @@
if (id.startsWith('id_timeout_en_')) {
textid = 'input[id=id_text_timeout_' + index + ']';
value = data.timeout;
data.timeouten = checked;
} else {
textid = 'input[id=id_text_autosel_' + index + ']';
value = data.autosel;
data.autoselen = checked;
}
if (checked) {
$(textid).attr("disabled", false);
$(textid).val(value);
} else {
$(textid).attr("disabled", true);
$(textid).val('');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment