Commit 69e4c835 authored by Italo Mairo's avatar Italo Mairo Committed by Italo Mairo
Browse files

Issue #3068719 by itamair: Attachments and Cacheability dropped for Leaflet (embeded|ajax) popups

parent 3d7fa0c7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@
        // Attach drupal behaviors on new content.
        Drupal.Leaflet[mapid].lMap.on('popupopen', function(e) {
          var element = e.popup._contentNode;
          $(element).once('leaflet-popup-behaviors-attached').each(function () {
          $(element).each(function () {
            Drupal.attachBehaviors(this, drupalSettings);
          })
        });