Browse Source

Label fix in user grant tables

pull/4/head
L. Bradley LaBoon 2 years ago
parent
commit
a020009c47
  1. 6
      user/grants/grants.js

6
user/grants/grants.js

@ -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…
Cancel
Save