mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-16 21:43:33 +08:00
✨ Sync 2026-04-22 04:42:14
This commit is contained in:
1 parent
9637c56cbd
commit
8541cb3d03
17 files changed
+275
-43
No files matched your search
@@ -298,7 +298,7 @@ table td, .table .td {
|
||||
function to_add_node() {
|
||||
ajaxAbortAll();
|
||||
const dom = document.getElementsByClassName("cbi-tab")[0];
|
||||
const current_group = dom.getAttribute("group_name")
|
||||
const current_group = dom ? (dom.getAttribute("group_name") || "default") : "default";
|
||||
window.location.href='<%=api.url("add_node")%>?redirect=1&group=' + current_group;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user