diff --git a/process/Attribute_lib/process.js b/process/Attribute_lib/process.js index 487d07bfb2238e91f1d64aa81d41464994069701..beb413584f50890b2c3cd2a5ed64df8fb344a87f 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(" / "); }