From be55d005728728562cfa7acac68b9937a2c4de01 Mon Sep 17 00:00:00 2001 From: Kamil Kuzminski Date: Tue, 29 May 2018 17:39:44 +0200 Subject: [PATCH] Fixed the analytics checkbox not toggling the subaplette by ajax --- dca/tl_page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dca/tl_page.php b/dca/tl_page.php index afc726e..6de609c 100644 --- a/dca/tl_page.php +++ b/dca/tl_page.php @@ -123,7 +123,7 @@ function (\Contao\DataContainer $dc) { 'label' => &$GLOBALS['TL_LANG']['tl_page']['cookiebar_analyticsCheckbox'], 'exclude' => true, 'inputType' => 'checkbox', - 'eval' => ['tl_class' => 'clr'], + 'eval' => ['submitOnChange' => true, 'tl_class' => 'clr'], 'sql' => "char(1) NOT NULL default ''", ];