diff --git a/entity/ObjectTree_entity/grantUpdateProcess.js b/entity/ObjectTree_entity/grantUpdateProcess.js index 33e0143ce68d08588f4cebe46478e398844793f2..8e5335d6e14ffb8aff019ac6d92886ca0977c567 100644 --- a/entity/ObjectTree_entity/grantUpdateProcess.js +++ b/entity/ObjectTree_entity/grantUpdateProcess.js @@ -1,3 +1,4 @@ +import("system.logging"); import("system.result"); import("system.neon"); import("system.vars"); @@ -12,8 +13,12 @@ if (vars.exists("$sys.selection") && vars.getString("$sys.selection")) var uid = JSON.parse(selectedRows[0]); isObjectRelationNode = typeof uid[2] == "string"; } - + logging.log("objectrel grantUpdate " + isObjectRelationNode); result.object(isObjectRelationNode) } else - result.object(false) \ No newline at end of file +{ + result.object(false) + logging.log("objectrel grantUpdate " + false); +} + \ No newline at end of file