From a2f2658861cd476bcb74f065ce5dec169e24f6e5 Mon Sep 17 00:00:00 2001
From: "S.Listl" <S.Listl@SLISTL.aditosoftware.local>
Date: Fri, 31 May 2019 14:25:51 +0200
Subject: [PATCH] Attribute displaySimpleName fix

---
 process/Attribute_lib/process.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/process/Attribute_lib/process.js b/process/Attribute_lib/process.js
index 487d07bfb2..beb413584f 100644
--- a/process/Attribute_lib/process.js
+++ b/process/Attribute_lib/process.js
@@ -87,6 +87,8 @@ AttributeUtil.getFullAttributeName = function (pAttributeId, pSimpleName)
     
     if (!pAttributeId)
         return "";
+    if (pSimpleName)
+        return AttributeUtil.getSimpleAttributeName(pAttributeId);
     var attributeNames = [];
     var attribute;
     do {
@@ -108,7 +110,7 @@ AttributeUtil.getFullAttributeName = function (pAttributeId, pSimpleName)
         }
         else
             pAttributeId = "";
-    } while (pAttributeId && !pSimpleName);
+    } while (pAttributeId);
     
     return attributeNames.reverse().join(" / ");
 }
-- 
GitLab