mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
Adding highlighting to the currently selected VLAN in the top table
so that it is more clear it is selected
This commit is contained in:
1 parent
a77d219baf
commit
742aef5461
2 files changed
+4
No files matched your search
@@ -1600,6 +1600,9 @@ function vlanLoad(vid) {
|
||||
}
|
||||
$("vmgmtpromote").checked = ($("vmgmtcur").dataset.id == vid);
|
||||
toast(t("v_loaded", {n: vid}), "ok");
|
||||
for(const vlanRow of $("vtable").tBodies[0].rows) {
|
||||
vlanRow.className=vlanRow.firstChild.firstChild.dataset.id == vid ? "sel":"";
|
||||
}
|
||||
}).catch(function() {toast(t("v_notfound", {n: vid}), "err")});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user