From 792e7db082b7ae67c1651ec45ca5db051d5450df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 9 Oct 2018 20:12:34 +0200 Subject: [PATCH] backoffice: don't disable map dragging (#27163) --- wcs/qommon/static/js/qommon.map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcs/qommon/static/js/qommon.map.js b/wcs/qommon/static/js/qommon.map.js index 82934a76c..e95cc1859 100644 --- a/wcs/qommon/static/js/qommon.map.js +++ b/wcs/qommon/static/js/qommon.map.js @@ -53,7 +53,7 @@ $(window).on('load', function() { attribution: map_attribution, maxZoom: map_options.maxZoom }).addTo(map); - if ($map_widget.data('readonly')) { + if ($map_widget.data('readonly') && $map_widget.attr('id') != 'backoffice-map') { map.dragging.disable(); } else { map.addControl(gps_control); -- 2.19.1