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

Attribute displaySimpleName fix

parent 888878e7
No related branches found
No related tags found
No related merge requests found
......@@ -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(" / ");
}
......
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