From f98a3d085bc361f951afb10abefc2f30524076b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20D=C4=99bi=C5=84ski?= <58430570+mateuszdebinski@users.noreply.github.com> Date: Fri, 12 Apr 2024 13:48:59 +0200 Subject: [PATCH] IBX-8066: Added dispatch event "ibexa-inputs:added" for new item (#44) --- src/bundle/Resources/public/js/scripts/fieldType/ezmatrix.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bundle/Resources/public/js/scripts/fieldType/ezmatrix.js b/src/bundle/Resources/public/js/scripts/fieldType/ezmatrix.js index 8fe86d3..d23fa58 100644 --- a/src/bundle/Resources/public/js/scripts/fieldType/ezmatrix.js +++ b/src/bundle/Resources/public/js/scripts/fieldType/ezmatrix.js @@ -30,6 +30,8 @@ this.reinit(); this.updateDisabledState(matrixNode); + + doc.body.dispatchEvent(new CustomEvent('ibexa-inputs:added')); } findCheckedEntries(node) {