MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / setMultiInterfaceFocus

Function setMultiInterfaceFocus

web/scripts/ragnar_modern.js:8707–8716  ·  view source on GitHub ↗
(interfaceName)

Source from the content-addressed store, hash-verified

8705 o.value = i.name;
8706 const tag = i.type === 'wifi' ? ' (WiFi)' : i.type === 'ethernet' ? ' (LAN)' : (i.type ? ' (' + i.type + ')' : '');
8707 o.textContent = i.name + tag;
8708 sel.appendChild(o);
8709 });
8710 sel.dataset.filled = '1';
8711 }).catch(() => {});
8712}
8713function _guardDetailStr(det) {
8714 if (!det || typeof det !== 'object') return '';
8715 const parts = [];
8716 for (const k of Object.keys(det)) parts.push(k + '=' + det[k]);
8717 return parts.join(' · ');
8718}
8719function _renderGuardResult(d) {

Callers 1

Calls 4

errorMethod · 0.80
postAPIFunction · 0.70
addConsoleMessageFunction · 0.70
refreshWifiStatusFunction · 0.70

Tested by

no test coverage detected