fix setting editable after printing

This commit is contained in:
Ziad-I
2024-07-05 09:25:17 +03:00
parent e32c9ae4fc
commit cdb5b6fc41
@@ -231,6 +231,11 @@ function addGanttElement(blenderId, tasks, workSched, filename) {
g.setTotalHeight("");
g.Draw();
addEventListener("afterprint", (event) => {
g.setEditable(true);
},);
let css =
"@media print {\n" +
" @page {\n" +