Copy map layer relations (Fix #89)

This commit is contained in:
David Molineus
2020-08-28 16:56:11 +02:00
parent 515a191a66
commit e5263a6315
3 changed files with 29 additions and 0 deletions

View File

@@ -28,6 +28,9 @@ $GLOBALS['TL_DCA']['tl_leaflet_map'] = [
'onsubmit_callback' => [
['netzmacht.contao_leaflet.listeners.dca.leaflet', 'clearCache'],
],
'oncopy_callback' => [
['netzmacht.contao_leaflet.listeners.dca.map', 'copyLayerRelations'],
],
],
'list' => [