summaryrefslogtreecommitdiffstats
path: root/gui-editors/gui-editor-apex/src/main/webapp/js/ApexContextAlbumEditForm.js
diff options
context:
space:
mode:
authordanielhanrahan <daniel.hanrahan@est.tech>2022-03-10 14:39:42 +0000
committerdanielhanrahan <daniel.hanrahan@est.tech>2022-03-14 11:53:36 +0000
commit93b5533e44728faa87c291fbf44120ea013fab51 (patch)
treefa26abbb89f0c596c84371f3c144957b9591167c /gui-editors/gui-editor-apex/src/main/webapp/js/ApexContextAlbumEditForm.js
parent1e95c73cef25b524bc1f5791d4578332670202f7 (diff)
Upgrade apex-pdp version in Apex Editor
Upgrade apex-pdp version to 2.7.1-SNAPSHOT Fix NullPointerException in ModelHandler::setUuidAndDescription Allow parsing models from policy_type_impl or apexPolicyModel Remove deprecated Task input and output field functionality Fix JS REST calls and tests after JAXB to Gson changes Fix bugs in Task Edit form relating to task logic edit area Issue-ID: POLICY-3990 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I4f506889df46619a0178ab99c99c73ec2fd5a1e3
Diffstat (limited to 'gui-editors/gui-editor-apex/src/main/webapp/js/ApexContextAlbumEditForm.js')
-rw-r--r--gui-editors/gui-editor-apex/src/main/webapp/js/ApexContextAlbumEditForm.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/gui-editors/gui-editor-apex/src/main/webapp/js/ApexContextAlbumEditForm.js b/gui-editors/gui-editor-apex/src/main/webapp/js/ApexContextAlbumEditForm.js
index 687d7b3..1270b91 100644
--- a/gui-editors/gui-editor-apex/src/main/webapp/js/ApexContextAlbumEditForm.js
+++ b/gui-editors/gui-editor-apex/src/main/webapp/js/ApexContextAlbumEditForm.js
@@ -32,7 +32,7 @@ function editContextAlbumForm_createContextAlbum(formParent) {
var contextSchemas = new Array();
ajax_get(requestURL, function(data2) {
for (let value of data2.messages) {
- var contextSchema = JSON.parse(value).apexContextSchema;
+ var contextSchema = JSON.parse(value);
contextSchemas.push({
"name" : contextSchema.key.name,
"version" : contextSchema.key.version,
@@ -58,13 +58,13 @@ function editContextAlbumForm_deleteContextAlbum(parent, name, version) {
function editContextAlbumForm_viewContextAlbum(parent, name, version) {
var requestURL = window.restRootURL + "/ContextAlbum/Get?name=" + name + "&version=" + version;
- ajax_getWithKeyInfo(requestURL, "apexContextAlbum", function(contextAlbum) {
+ ajax_getWithKeyInfo(requestURL, function(contextAlbum) {
// Get all contextSchemas too for album item schema
requestURL = window.restRootURL + "/ContextSchema/Get?name=&version=";
var contextSchemas = new Array();
ajax_get(requestURL, function(data2) {
for (let value of data2.messages) {
- var contextSchema = JSON.parse(value).apexContextSchema;
+ var contextSchema = JSON.parse(value);
contextSchemas.push({
"name" : contextSchema.key.name,
"version" : contextSchema.key.version,
@@ -79,13 +79,13 @@ function editContextAlbumForm_viewContextAlbum(parent, name, version) {
function editContextAlbumForm_editContextAlbum(formParent, name, version) {
var requestURL = window.restRootURL + "/ContextAlbum/Get?name=" + name + "&version=" + version;
- ajax_getWithKeyInfo(requestURL, "apexContextAlbum", function(contextAlbum) {
+ ajax_getWithKeyInfo(requestURL, function(contextAlbum) {
// Get all contextSchemas too for album item schema
requestURL = window.restRootURL + "/ContextSchema/Get?name=&version=";
var contextSchemas = new Array();
ajax_get(requestURL, function(data2) {
for (let value of data2.messages) {
- var contextSchema = JSON.parse(value).apexContextSchema;
+ var contextSchema = JSON.parse(value);
contextSchemas.push({
"name" : contextSchema.key.name,
"version" : contextSchema.key.version,