From d39455c88111a55ee21ef2701e65e05f50677cec Mon Sep 17 00:00:00 2001 From: "S.Listl" <S.Listl@SLISTL.aditosoftware.local> Date: Fri, 10 May 2019 14:35:19 +0200 Subject: [PATCH] AttributeRelation edit fix --- .../entityfields/alter/children/edit/stateProcess.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entity/AttributeRelation_entity/entityfields/alter/children/edit/stateProcess.js b/entity/AttributeRelation_entity/entityfields/alter/children/edit/stateProcess.js index 1600aca0c7b..a398c25dfea 100644 --- a/entity/AttributeRelation_entity/entityfields/alter/children/edit/stateProcess.js +++ b/entity/AttributeRelation_entity/entityfields/alter/children/edit/stateProcess.js @@ -4,9 +4,9 @@ import("system.neon"); import("Attribute_lib"); 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) state = neon.COMPONENTSTATE_EDITABLE; } -- GitLab