From 2cefeda1004dc607ad079db29d3384d917c5b47b Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Thu, 3 May 2018 15:24:09 +0200 Subject: [PATCH] Submap constructor passes proper object to MapOptions --- frontend-js/src/main/js/map/Submap.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend-js/src/main/js/map/Submap.js b/frontend-js/src/main/js/map/Submap.js index 13ec12a02c..f0519ffa46 100644 --- a/frontend-js/src/main/js/map/Submap.js +++ b/frontend-js/src/main/js/map/Submap.js @@ -24,7 +24,9 @@ function Submap(customMap, model) { AbstractCustomMap.call(this, model, new CustomMapOptions({ element: customMap.getElement(), bigLogo: customMap.isBigLogo(), - project: null, + project: customMap.getProject(), + configuration: customMap.getConfiguration(), + projectId: customMap.getProject().getProjectId(), debug: customMap.isDebug(), serverConnector: customMap.getServerConnector() })); -- GitLab