From 9294223a498e63e8ba3fb2a0d12216d7fba84688 Mon Sep 17 00:00:00 2001 From: Mark Friedrich Date: Fri, 17 Apr 2020 14:07:26 +0200 Subject: [PATCH] =?UTF-8?q?-=20Fixed=20a=20bug=20where=20dbl-click=20at=20?= =?UTF-8?q?System=C2=B4s=20child=20dom=20nodes=20triggers=20page=20refresh?= =?UTF-8?q?,=20closed=20#945?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/app/map/map.js | 1 + public/js/v2.0.1/app/map/map.js | 1 + 2 files changed, 2 insertions(+) diff --git a/js/app/map/map.js b/js/app/map/map.js index 1b910383..ae27ade3 100644 --- a/js/app/map/map.js +++ b/js/app/map/map.js @@ -2034,6 +2034,7 @@ define([ // system click events ======================================================================================== let double = function(e){ + e.stopPropagation(); // if not xEditable triggers page reload #945 let system = $(this); let headElement = $(system).find('.' + config.systemHeadNameClass); diff --git a/public/js/v2.0.1/app/map/map.js b/public/js/v2.0.1/app/map/map.js index 1b910383..ae27ade3 100644 --- a/public/js/v2.0.1/app/map/map.js +++ b/public/js/v2.0.1/app/map/map.js @@ -2034,6 +2034,7 @@ define([ // system click events ======================================================================================== let double = function(e){ + e.stopPropagation(); // if not xEditable triggers page reload #945 let system = $(this); let headElement = $(system).find('.' + config.systemHeadNameClass);