summaryrefslogtreecommitdiffstats
path: root/gui-editors/gui-editor-apex/src/main/resources/webapp/js/ApexNewModelForm.js
diff options
context:
space:
mode:
Diffstat (limited to 'gui-editors/gui-editor-apex/src/main/resources/webapp/js/ApexNewModelForm.js')
-rw-r--r--gui-editors/gui-editor-apex/src/main/resources/webapp/js/ApexNewModelForm.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui-editors/gui-editor-apex/src/main/resources/webapp/js/ApexNewModelForm.js b/gui-editors/gui-editor-apex/src/main/resources/webapp/js/ApexNewModelForm.js
index 65b39d9..d7e5ccd 100644
--- a/gui-editors/gui-editor-apex/src/main/resources/webapp/js/ApexNewModelForm.js
+++ b/gui-editors/gui-editor-apex/src/main/resources/webapp/js/ApexNewModelForm.js
@@ -1,7 +1,7 @@
/*
* ============LICENSE_START=======================================================
* Copyright (C) 2016-2018 Ericsson. All rights reserved.
- * Modifications Copyright (C) 2020 Nordix Foundation.
+ * Modifications Copyright (C) 2020-2021 Nordix Foundation.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -221,7 +221,7 @@ function newModelForm_submitPressed() {
ajax_post(requestURL, jsonString, function(resultData) {
apexUtils_removeElement("newModelDivBackground");
- var requestURL = window.restRootURL + "/Model/GetKey";
+ requestURL = window.restRootURL + "/Model/GetKey";
ajax_get(requestURL, function(data) {
var modelKey = JSON.parse(data.messages.message[0]).apexArtifactKey;