update 2026-08-08 00:47:38

This commit is contained in:
action committed 2026-08-08 00:47:38 +08:00
1 parent 8bad7f08b8
commit 9298d4285a
38 files changed
+1289 -395

No files matched your search

@@ -53,6 +53,22 @@
}
}
}
document.addEventListener("DOMContentLoaded", function () {
waitForElement('select[name*="<%=self.config%>"][name*="shunt_group"]', function(el) {
let o_val = el.value;
el.addEventListener("change", () => {
el.blur();
if (o_val != el.value) {
let save = true;
if (save) {
update_config("<%=self.id%>", {
shunt_group: getOption("<%=self.config%>", "<%=self.s_cfgid%>", "shunt_group").value,
}, get_current_url());
}
}
});
});
});
document.addEventListener("DOMContentLoaded", () => setTimeout(() => {
refresh_depends();
const table_dom = document.getElementById("cbi-passwall2-shunt_option_list");