0001-backoffice-don-t-disable-map-dragging-27163.patch
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 |
- |