made edit containers panel tabable
This commit is contained in:
parent
47c6fb5ad0
commit
35379004cb
1 changed files with 3 additions and 1 deletions
|
@ -931,7 +931,8 @@ Logic.registerPanel(P_CONTAINERS_EDIT, {
|
||||||
tr.querySelector(".container-name").textContent = identity.name;
|
tr.querySelector(".container-name").textContent = identity.name;
|
||||||
tr.querySelector(".edit-container").setAttribute("title", `Edit ${identity.name} container`);
|
tr.querySelector(".edit-container").setAttribute("title", `Edit ${identity.name} container`);
|
||||||
tr.querySelector(".remove-container").setAttribute("title", `Remove ${identity.name} container`);
|
tr.querySelector(".remove-container").setAttribute("title", `Remove ${identity.name} container`);
|
||||||
|
tr.querySelector(".edit-container").setAttribute("tabindex","0");
|
||||||
|
tr.querySelector(".remove-container").setAttribute("tabindex","0");
|
||||||
|
|
||||||
Logic.addEnterHandler(tr, e => {
|
Logic.addEnterHandler(tr, e => {
|
||||||
if (e.target.matches(".edit-container-icon") || e.target.parentNode.matches(".edit-container-icon")) {
|
if (e.target.matches(".edit-container-icon") || e.target.parentNode.matches(".edit-container-icon")) {
|
||||||
|
@ -951,6 +952,7 @@ Logic.registerPanel(P_CONTAINERS_EDIT, {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
// Search the container tab entered in the search box
|
// Search the container tab entered in the search box
|
||||||
|
|
||||||
const search = document.querySelector("#search-containers-link");
|
const search = document.querySelector("#search-containers-link");
|
||||||
|
|
Loading…
Add table
Reference in a new issue