Projet

Général

Profil

0001-maps-fix-attribute-name-init_with_geoloc-57610.patch

Benjamin Dauvergne, 05 octobre 2021 15:58

Télécharger (1,12 ko)

Voir les différences:

Subject: [PATCH] maps: fix attribute name init_with_geoloc (#57610)

 wcs/qommon/static/js/qommon.map.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
wcs/qommon/static/js/qommon.map.js
138 138
     });
139 139
     var is_preview = $('.form-preview').length == 1;
140 140
     position_prefil = $map_widget.parent().parent().data('geolocation') == 'position';
141
     if (! ($map_widget.data('readonly') || is_preview) && ($map_widget.data('init-with-geoloc') || position_prefil)) {
141
     if (! ($map_widget.data('readonly') || is_preview) && ($map_widget.data('init_with_geoloc') || position_prefil)) {
142 142
       $map_widget.addClass('waiting-for-geolocation');
143 143
       $map_widget.removeClass('geolocation-error');
144 144
       map.on('locationfound', function(e) {
145
-