mirror of
https://github.com/netzmacht/contao-leaflet-geocode-widget.git
synced 2025-11-28 03:33:47 +01:00
Fix broken modal toggle of the radius wizard callback listener.
This commit is contained in:
@@ -37,7 +37,7 @@ class RadiusWizardCallbackListener
|
||||
}
|
||||
|
||||
return sprintf(
|
||||
'<a href="#" onclick="$(\'ctrl_%s_toggle\').fireEvent(\'click\');return false;"><img src="%s"></a>',
|
||||
'<a href="#" onclick="$(\'ctrl_%s_toggle\').click();return false;"><img src="%s"></a>',
|
||||
$GLOBALS['TL_DCA'][$dataContainer->table]['fields'][$dataContainer->field]['eval']['coordinates'],
|
||||
'bundles/leafletgeocodewidget/img/map.png'
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user