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);