go-htmx-gsd #1
1 changed files with 1 additions and 2 deletions
|
|
@ -51,7 +51,7 @@ templ KanbanBoard(tabloID uuid.UUID, csrfToken string, tasks []sqlc.Task) {
|
|||
group: "kanban",
|
||||
animation: 150,
|
||||
handle: ".task-drag-handle",
|
||||
draggable: ".task-card",
|
||||
draggable: ".task-card-zone",
|
||||
ghostClass: "bg-slate-100",
|
||||
chosenClass: "opacity-50",
|
||||
onEnd: function() {
|
||||
|
|
@ -67,7 +67,6 @@ templ KanbanBoard(tabloID uuid.UUID, csrfToken string, tasks []sqlc.Task) {
|
|||
form.appendChild(colInp);
|
||||
});
|
||||
});
|
||||
form.dispatchEvent(new Event("submit", { bubbles: true }));
|
||||
htmx.trigger(form, "submit");
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue