Label fix in user grant tables
This commit is contained in:
parent
6a029d0ed6
commit
a020009c47
@ -79,7 +79,7 @@ import { settings, elements, apiGet, apiPut, parseParams, setupHeader } from "/g
|
||||
|
||||
var none = document.createElement("td");
|
||||
var noneLabel = document.createElement("label");
|
||||
noneLabel.for = type + "-none-" + perm.id;
|
||||
noneLabel.htmlFor = type + "-none-" + perm.id;
|
||||
var noneBox = document.createElement("input");
|
||||
noneBox.id = type + "-none-" + perm.id;
|
||||
noneBox.className = elements.grantBox;
|
||||
@ -91,7 +91,7 @@ import { settings, elements, apiGet, apiPut, parseParams, setupHeader } from "/g
|
||||
|
||||
var ro = document.createElement("td");
|
||||
var roLabel = document.createElement("label");
|
||||
roLabel.for = type + "-ro-" + perm.id;
|
||||
roLabel.htmlFor = type + "-ro-" + perm.id;
|
||||
var roBox = document.createElement("input");
|
||||
roBox.id = type + "-ro-" + perm.id;
|
||||
roBox.className = elements.grantBox;
|
||||
@ -103,7 +103,7 @@ import { settings, elements, apiGet, apiPut, parseParams, setupHeader } from "/g
|
||||
|
||||
var rw = document.createElement("td");
|
||||
var rwLabel = document.createElement("label");
|
||||
rwLabel.for = type + "-rw-" + perm.id;
|
||||
rwLabel.htmlFor = type + "-rw-" + perm.id;
|
||||
var rwBox = document.createElement("input");
|
||||
rwBox.id = type + "-rw-" + perm.id;
|
||||
rwBox.className = elements.grantBox;
|
||||
|
Loading…
Reference in New Issue
Block a user