view installer/client.min.js @ 17:dd5ed6ef69c9

Slowly cleaning up more php8 Warnings/deprecations
author Charlie Root
date Mon, 06 Oct 2025 12:20:32 -0400
parents 4681f974d28b
children
line wrap: on
line source

function toggleblock(c,a){var b=document.getElementById(c);return false}function addhostfield(){var a=document.getElementById("defaulthostlist");var d=document.createElement("div");var b=document.createElement("input");var c=document.createElement("a");b.name="_default_host[]";b.size="30";c.href="#";c.onclick=function(){removehostfield(this.parentNode);return false};c.className="removelink";c.innerHTML="remove";d.appendChild(b);d.appendChild(c);a.appendChild(d)}function removehostfield(b){var a=document.getElementById("defaulthostlist");a.removeChild(b)};