summaryrefslogtreecommitdiffstats
path: root/gui-editors/gui-editor-apex/src/main/webapp/js/ApexContextAlbumEditForm.js
diff options
context:
space:
mode:
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,