clean install

This commit is contained in:
2024-12-10 15:08:16 +01:00
commit e14eb2d8fd
31193 changed files with 3555714 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
/**
* Attach functionality for Proximity Origin Summary Lat and Lon behaviours.
*/
(function ($, Drupal, drupalSettings) {
Drupal.behaviors.geofield_proximity_origin_summary_update = {
attach: function (context, settings) {
// Sync the .proximity-origin-summary lat and lon elements according to
// geofield-lat and geofield-lon changes.
once(
'geofield_proximity_origin_summary_update',
'.proximity-origin',
).forEach(function (e) {
const self = e;
$('.geofield-lat', e).on('change', function(e) {
$('.proximity-origin-summary .geofield-lat', self).text($(this).val())
});
$('.geofield-lon', e).on('change', function(e) {
$('.proximity-origin-summary .geofield-lon', self).text($(this).val())
});
});
}
};
})(jQuery, Drupal, drupalSettings);