Add blank default to copy container selector
This commit is contained in:
parent
581dab4ef5
commit
be840e42cb
|
@ -95,6 +95,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||
<div class="per-site-buttons" id="per-site-buttons">
|
||||
<label for="copy-container" id="copy-container-label">Copy permissions from container:</label>
|
||||
<select name="copy-container" id="copy-container">
|
||||
<option value=blank></option>
|
||||
<option value="default">Default</option>
|
||||
</select>
|
||||
<div style="inline-size:0;margin-inline:.5em;border:1px solid #888"></div>
|
||||
|
|
|
@ -252,6 +252,7 @@ document.querySelector("#version").textContent = _("Version",
|
|||
sitesUI.policy = currentPolicy;
|
||||
sitesUI.render(currentPolicy.sites);
|
||||
}
|
||||
containerCopy.value = "blank";
|
||||
}
|
||||
containerCopy.onchange = copyContainer;
|
||||
|
||||
|
@ -272,7 +273,7 @@ document.querySelector("#version").textContent = _("Version",
|
|||
}
|
||||
containerSelect.innerHTML = container_options;
|
||||
containerSelect.value = cookieStoreId;
|
||||
containerCopy.innerHTML = container_options;
|
||||
containerCopy.innerHTML = "<option value=blank></option>" + container_options;
|
||||
}
|
||||
containerSelect.onfocus = updateContainerOptions;
|
||||
containerCopy.onfocus = updateContainerOptions;
|
||||
|
|
Loading…
Reference in New Issue