update 2026-10-29 18:46:39

This commit is contained in:
action committed 2026-10-29 18:46:39 +08:00
1 parent e2f86e09f4
commit 95f76f26d3
5034 files changed
+2043234

No files matched your search

@@ -0,0 +1,25 @@
<%
local map = self.map
local api = map.api
local section = self.section
-%>
<script type="text/javascript">
//<![CDATA[
function server_update_config(cfgid, data, redirect_url) {
XHR.get('<%=api.url("server_update_config")%>', {
id: cfgid,
data: JSON.stringify(data)
},
function(x, data) {
if (x && x.status == 200 && data.code == 1) {
if (redirect_url) {
window.location.href = redirect_url;
}
}
else {
alert("<%:Error%>");
}
});
}
//]]>
</script>