/time now also uses workDay instead of grouped booking --> outsourcing
to sql
This commit is contained in:
@@ -4,8 +4,12 @@ function editDay(element, event, formId) {
|
||||
.querySelector(".time-component > form");
|
||||
form.classList.toggle("edit");
|
||||
element.classList.toggle("edit");
|
||||
console.log(form);
|
||||
if (element.classList.contains("edit")) {
|
||||
event.preventDefault();
|
||||
form.querySelectorAll("input, select").forEach((input) => {
|
||||
input.disabled = false;
|
||||
});
|
||||
} else {
|
||||
form.submit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user