X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=server%2Forg.argeo.slc.ria%2Fsrc%2Fargeo-ria-lib%2Fslc%2Fclass%2Forg%2Fargeo%2Fslc%2Fria%2FSpecsEditorView.js;h=ceadd94d798d94e16647ea096bf44f0a3b23b34b;hb=6e162ed05016679a19bf4da38b835d15684cb232;hp=e1009bcf73206d72c91d0d3870fce7b85c6a7f54;hpb=02e323ce2bac40ffb9d067788c61a3e41300a9fb;p=gpl%2Fargeo-slc.git diff --git a/server/org.argeo.slc.ria/src/argeo-ria-lib/slc/class/org/argeo/slc/ria/SpecsEditorView.js b/server/org.argeo.slc.ria/src/argeo-ria-lib/slc/class/org/argeo/slc/ria/SpecsEditorView.js index e1009bcf7..ceadd94d7 100644 --- a/server/org.argeo.slc.ria/src/argeo-ria-lib/slc/class/org/argeo/slc/ria/SpecsEditorView.js +++ b/server/org.argeo.slc.ria/src/argeo-ria-lib/slc/class/org/argeo/slc/ria/SpecsEditorView.js @@ -16,7 +16,7 @@ qx.Class.define("org.argeo.slc.ria.SpecsEditorView", init : { "updateData" : { label : "Edit Execution Specs", - icon : "org.argeo.slc.riadocument-open.png", + icon : "org/argeo/slc/ria/document-open.png", shortcut : null, enabled : false, menu : null, @@ -102,12 +102,13 @@ qx.Class.define("org.argeo.slc.ria.SpecsEditorView", var valueObj = values[key]; var hidden = valueObj.getHidden(); var type = valueObj.getSpecType(); - if(type == "primitive" && !hidden){ + if((type == "primitive" || type== "ref")&& !hidden){ metadata = { key : key, disabled : valueObj.getFrozen(), type : type, - subType : valueObj.getSpecSubType() + subType : valueObj.getSpecSubType(), + refList : (type=="ref"?valueObj.getRefList():[]) } data.push([key, valueObj.getValue(), metadata]); }