From 3828c9ce135d1ca9fa421b650b712b5ec49b699b Mon Sep 17 00:00:00 2001 From: David Molineus Date: Fri, 6 Oct 2017 14:27:04 +0200 Subject: [PATCH] Use toolkit 3.0 color picker. --- src/Resources/contao/dca/tl_leaflet_icon.php | 2 +- src/Resources/contao/dca/tl_leaflet_style.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Resources/contao/dca/tl_leaflet_icon.php b/src/Resources/contao/dca/tl_leaflet_icon.php index f14ff5a..b1f681d 100644 --- a/src/Resources/contao/dca/tl_leaflet_icon.php +++ b/src/Resources/contao/dca/tl_leaflet_icon.php @@ -415,7 +415,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_icon'] = array 'exclude' => true, 'inputType' => 'text', 'wizard' => array( - \Netzmacht\Contao\Toolkit\Dca\Callback\CallbackFactory::colorPicker() + ['netzmacht.contao_toolkit.dca.listeners.color_picker', 'handleWizardCallback'], ), 'eval' => array( 'maxlength' => 64, diff --git a/src/Resources/contao/dca/tl_leaflet_style.php b/src/Resources/contao/dca/tl_leaflet_style.php index 3d436a6..53987be 100644 --- a/src/Resources/contao/dca/tl_leaflet_style.php +++ b/src/Resources/contao/dca/tl_leaflet_style.php @@ -207,7 +207,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_style'] = array 'exclude' => true, 'inputType' => 'text', 'wizard' => array( - \Netzmacht\Contao\Toolkit\Dca\Callback\CallbackFactory::colorPicker() + ['netzmacht.contao_toolkit.dca.listeners.color_picker', 'handleWizardCallback'], ), 'eval' => array( 'tl_class' => 'w50 wizard clr', @@ -248,7 +248,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_style'] = array 'exclude' => true, 'inputType' => 'text', 'wizard' => array( - \Netzmacht\Contao\Toolkit\Dca\Callback\CallbackFactory::colorPicker() + ['netzmacht.contao_toolkit.dca.listeners.color_picker', 'handleWizardCallback'], ), 'eval' => array( 'tl_class' => 'clr w50 wizard',