Skip to content
Snippets Groups Projects
Commit d39455c8 authored by S.Listl's avatar S.Listl
Browse files

AttributeRelation edit fix

parent be0e4fba
No related branches found
No related tags found
No related merge requests found
...@@ -4,9 +4,9 @@ import("system.neon"); ...@@ -4,9 +4,9 @@ import("system.neon");
import("Attribute_lib"); import("Attribute_lib");
var state = neon.COMPONENTSTATE_DISABLED; var state = neon.COMPONENTSTATE_DISABLED;
if (vars.exists("$local.rows")) if (vars.exists("$sys.selectionRows"))
{ {
var row = JSON.parse(vars.get("$local.rows"))[0]; var row = JSON.parse(vars.getString("$sys.selectionRows"))[0];
if (row.AB_ATTRIBUTE_ID) if (row.AB_ATTRIBUTE_ID)
state = neon.COMPONENTSTATE_EDITABLE; state = neon.COMPONENTSTATE_EDITABLE;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment