Fix APEX policy creation issue 06/125406/1
authorandre.schmid <andre.schmid@est.tech>
Wed, 27 Oct 2021 17:39:43 +0000 (18:39 +0100)
committerAndr� Schmid <andre.schmid@est.tech>
Wed, 27 Oct 2021 17:53:28 +0000 (17:53 +0000)
commitc3b54346bf55de9f5cd83ec1840b9af89dbda467
tree32b8857419a2fe80d4cf181cbb69d0ad432c6865
parent2dad7410c70cc153e32b3055172dd786b85695f1
Fix APEX policy creation issue

Because of a not initialized javascript variable, the system calls
a malformed url to create a APEX policy.
This change correctly initializes the window.restRootURL when no
apex_session is present in the localStorage.

Issue-ID: POLICY-3794
Signed-off-by: andre.schmid <andre.schmid@est.tech>
Change-Id: I068bd86a747e7eafc3f17aa0faf5fdc778195711
gui-editors/gui-editor-apex/src/main/resources/webapp/js/ApexMain.js