🔥 Sync 2026-05-23 20:23:16

This commit is contained in:
github-actions[bot] committed 2026-05-23 20:23:16 +08:00
1 parent 252b818cc5
commit b77bf4e6e9
49 files changed
+2005 -1916

No files matched your search

@@ -4,7 +4,7 @@ local api = self.api
<script type="text/javascript">
//<![CDATA[
document.addEventListener("DOMContentLoaded", function () {
waitForElement('select[name*="<%=api.appname%>"][name*="type"]', function(el) {
waitForElement('select[name*="<%=self.config%>"][name*="type"]', function(el) {
let o_val = el.value;
el.addEventListener("change", () => {
el.blur();
@@ -22,7 +22,7 @@ local api = self.api
}
});
});
waitForElement('select[name*="<%=api.appname%>"][name*="protocol"]', function(el) {
waitForElement('select[name*="<%=self.config%>"][name*="protocol"]', function(el) {
let o_val = el.value;
el.addEventListener("change", () => {
el.blur();
@@ -21,7 +21,7 @@ local api = self.api
function getOption(opt) {
var obj;
var id = 'cbid.<%=api.appname%>.' + node_id + '.' + opt;
var id = 'cbid.<%=self.config%>.' + node_id + '.' + opt;
obj = document.getElementsByName(id)[0] || document.getElementById(id);
if (obj) {
var combobox = document.getElementById('cbi.combobox.' + id);