schedule bug fix
This commit is contained in:
parent
2042b9e7c6
commit
4e07fd0940
@ -605,10 +605,12 @@
|
|||||||
|
|
||||||
document.getElementById("schedules_tab").addEventListener("click", (e) => {
|
document.getElementById("schedules_tab").addEventListener("click", (e) => {
|
||||||
setActiveTab(e);
|
setActiveTab(e);
|
||||||
|
console.log("Switching to schedule tab");
|
||||||
const tab_content = document.querySelector("#tab_content");
|
const tab_content = document.querySelector("#tab_content");
|
||||||
tab_content.innerHTML = "";
|
tab_content.innerHTML = "";
|
||||||
const template = document.querySelector("#schedules_template");
|
const template = document.querySelector("#schedules_template");
|
||||||
const template_clone = template.content.cloneNode(true);
|
const template_clone = template.content.cloneNode(true);
|
||||||
|
console.dir(template_clone);
|
||||||
tab_content.appendChild(template_clone);
|
tab_content.appendChild(template_clone);
|
||||||
//init_schedules();
|
//init_schedules();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user