From e0060116f5fd6c2ae680ae88fa6711f648a4b260 Mon Sep 17 00:00:00 2001 From: Dariusz Szut Date: Wed, 24 Sep 2025 15:11:29 +0200 Subject: [PATCH] IBX-10489: Fixed disabled state in content tree translation modal --- .../public/js/scripts/admin.location.add.translation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bundle/Resources/public/js/scripts/admin.location.add.translation.js b/src/bundle/Resources/public/js/scripts/admin.location.add.translation.js index 457e79e379..cf076f0b0b 100644 --- a/src/bundle/Resources/public/js/scripts/admin.location.add.translation.js +++ b/src/bundle/Resources/public/js/scripts/admin.location.add.translation.js @@ -10,6 +10,6 @@ doc.querySelectorAll('.ibexa-translation__language-wrapper--language').forEach((select) => { toggleBtnDisabledState(select); - select.addEventListener('change', toggleBtnDisabledState, false); + select.addEventListener('change', ({ target }) => toggleBtnDisabledState(target), false); }); })(window, window.document);