mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2026-10-14 06:36:03 +02:00
Fix callbacks.
This commit is contained in:
1 parent
e574aa36a0
commit
c8ea8d4fab
1 file changed
+3
-3
@@ -565,7 +565,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_layer'] = array
|
|||||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_layer']['minZoom'],
|
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_layer']['minZoom'],
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'inputType' => 'select',
|
'inputType' => 'select',
|
||||||
'options_callback' => array('Netzmacht\Contao\Leaflet\Dca\Leaflet', 'getZoomLevels'),
|
'options_callback' => array('Netzmacht\Contao\Leaflet\Dca\LeafletCallbacks', 'getZoomLevels'),
|
||||||
'eval' => array(
|
'eval' => array(
|
||||||
'maxlength' => 4,
|
'maxlength' => 4,
|
||||||
'rgxp' => 'digit',
|
'rgxp' => 'digit',
|
||||||
@@ -580,7 +580,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_layer'] = array
|
|||||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_layer']['maxZoom'],
|
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_layer']['maxZoom'],
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'inputType' => 'select',
|
'inputType' => 'select',
|
||||||
'options_callback' => array('Netzmacht\Contao\Leaflet\Dca\Leaflet', 'getZoomLevels'),
|
'options_callback' => array('Netzmacht\Contao\Leaflet\Dca\LeafletCallbacks', 'getZoomLevels'),
|
||||||
'eval' => array(
|
'eval' => array(
|
||||||
'maxlength' => 4,
|
'maxlength' => 4,
|
||||||
'rgxp' => 'digit',
|
'rgxp' => 'digit',
|
||||||
@@ -595,7 +595,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_layer'] = array
|
|||||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_layer']['maxNativeZoom'],
|
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_layer']['maxNativeZoom'],
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'inputType' => 'select',
|
'inputType' => 'select',
|
||||||
'options_callback' => array('Netzmacht\Contao\Leaflet\Dca\Leaflet', 'getZoomLevels'),
|
'options_callback' => array('Netzmacht\Contao\Leaflet\Dca\LeafletCallbacks', 'getZoomLevels'),
|
||||||
'eval' => array(
|
'eval' => array(
|
||||||
'maxlength' => 4,
|
'maxlength' => 4,
|
||||||
'rgxp' => 'digit',
|
'rgxp' => 'digit',
|
||||||
|
|||||||
Reference in new issue
Block a user