Commit d2a76814 authored by Italo Mairo's avatar Italo Mairo
Browse files

views style LeafletMap: removed 'core/drupal.ajax' bubbleable metadata...

views style LeafletMap: removed 'core/drupal.ajax' bubbleable metadata attached library, as it breaks the leaflet views ajax popup for anonymous users
parent 37ba4bb0
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -779,7 +779,6 @@ class LeafletMap extends StylePluginBase implements ContainerFactoryPluginInterf
                $url = Url::fromRoute('leaflet_views.ajax_popup', $parameters, ['absolute' => TRUE]);
                $description = sprintf('<div class="leaflet-ajax-popup" data-leaflet-ajax-popup="%s" %s></div>',
                  $url->toString(), LeafletAjaxPopupController::getPopupIdentifierAttribute($entity_type, $entity->id(), $this->options['view_mode'], $langcode));
                $build_for_bubbleable_metadata['#attached']['library'][] = 'core/drupal.ajax';
                break;

              default: