mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-11-28 11:04:08 +01:00
Fix broken content element attributes (Missing class and custom id).
This commit is contained in:
@@ -6,6 +6,14 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## 3.0.4 - 2018-10-08
|
||||||
|
|
||||||
|
[Full Changelog](https://github.com/netzmacht/contao-leaflet-maps/compare/3.0.3...3.0.4)
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Fix broken content element attributes (Missing class and custom id).
|
||||||
|
|
||||||
## 3.0.3 - 2018-09-18
|
## 3.0.3 - 2018-09-18
|
||||||
|
|
||||||
[Full Changelog](https://github.com/netzmacht/contao-leaflet-maps/compare/3.0.2...3.0.3)
|
[Full Changelog](https://github.com/netzmacht/contao-leaflet-maps/compare/3.0.2...3.0.3)
|
||||||
|
|||||||
@@ -119,6 +119,8 @@ abstract class AbstractMapHybrid extends AbstractHybrid
|
|||||||
*/
|
*/
|
||||||
protected function prepareTemplateData(array $data): array
|
protected function prepareTemplateData(array $data): array
|
||||||
{
|
{
|
||||||
|
$data = parent::prepareTemplateData($data);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$template = $this->get('leaflet_template') ?: 'leaflet_map_js';
|
$template = $this->get('leaflet_template') ?: 'leaflet_map_js';
|
||||||
$mapId = $this->getIdentifier();
|
$mapId = $this->getIdentifier();
|
||||||
|
|||||||
Reference in New Issue
Block a user