Fix APEX policy creation issue 25/125425/1
authorandre.schmid <andre.schmid@est.tech>
Wed, 27 Oct 2021 17:39:43 +0000 (18:39 +0100)
committerandre.schmid <andre.schmid@est.tech>
Wed, 27 Oct 2021 17:39:43 +0000 (18:39 +0100)
commit95a6260a715cdf46234ced9c797316685d1be918
treeb5e8a47b794d56b2595d327baf0bcd6f63627696
parentaa93fed6146559c521a419a873120bdef479e78f
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