mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-06 20:14:19 +08:00
update 2026-08-23 20:28:43
This commit is contained in:
1 parent
c9995f5dbc
commit
f72510db88
1989 files changed
+1523403
-298
No files matched your search
@@ -495,7 +495,8 @@ table td, .table .td {
|
||||
ajax.abortAll();
|
||||
switch (action) {
|
||||
case "add":
|
||||
const dom = document.getElementsByClassName("cbi-tab")[0];
|
||||
const master = document.getElementById("node_list");
|
||||
const dom = master.getElementsByClassName("cbi-tab")[0];
|
||||
const current_group = dom ? (dom.getAttribute("group_name") || "default") : "default";
|
||||
window.location.href='<%=api.url("add_node")%>?redirect=1&group=' + current_group;
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user