Projet

Général

Profil

0001-backoffice-don-t-disable-map-dragging-27163.patch

Frédéric Péters, 09 octobre 2018 20:13

Télécharger (932 octets)

Voir les différences:

Subject: [PATCH] backoffice: don't disable map dragging (#27163)

 wcs/qommon/static/js/qommon.map.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
wcs/qommon/static/js/qommon.map.js
53 53
             attribution: map_attribution,
54 54
             maxZoom: map_options.maxZoom
55 55
     }).addTo(map);
56
     if ($map_widget.data('readonly')) {
56
     if ($map_widget.data('readonly') && $map_widget.attr('id') != 'backoffice-map') {
57 57
       map.dragging.disable();
58 58
     } else {
59 59
       map.addControl(gps_control);
60
-