From 328064ce7a7d626933bd0a7a146f2edccc2d0768 Mon Sep 17 00:00:00 2001 From: Pekka Helesuo Date: Tue, 26 Nov 2024 12:41:01 +0200 Subject: [PATCH] projection change dialog modal --- bundles/framework/mydata/handler/PublishedMapsHandler.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bundles/framework/mydata/handler/PublishedMapsHandler.js b/bundles/framework/mydata/handler/PublishedMapsHandler.js index d451aa285b..c314a82f0a 100644 --- a/bundles/framework/mydata/handler/PublishedMapsHandler.js +++ b/bundles/framework/mydata/handler/PublishedMapsHandler.js @@ -174,7 +174,7 @@ class MapsHandler extends StateHandler { dialog.close(true); }); dialog.show(this.loc('projectionError').title, this.loc('projectionError').msg, [cancel, btn]); - dialog.makeDraggable(); + dialog.makeModal(); } editView (data) { @@ -186,6 +186,7 @@ class MapsHandler extends StateHandler { this.createProjectionChangeDialog(() => { window.location.href = this.constructUrlWithUuid(srs, embeddedMapUuid, data); }); + return; } const resp = this.viewService.isViewLayersLoaded(data, sandbox);