mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 01:58:47 +02:00
Add partial turbo event
This commit is contained in:
@@ -10,7 +10,7 @@ class TurboStreamEvent extends HTMLElement {
|
||||
|
||||
this.style.display = 'none';
|
||||
|
||||
const event = new CustomEvent("itop:TurboStreamEvent", {
|
||||
const event = new CustomEvent(`itop:TurboStreamEvent:${this.dataset.type}`, {
|
||||
detail: {
|
||||
id: this.getAttribute('id'),
|
||||
form_id: this.dataset.formId,
|
||||
|
||||
Reference in New Issue
Block a user