Skip to content
Snippets Groups Projects
Commit 577e8939 authored by baigner's avatar baigner
Browse files

VISTOMS bug fix: Fixed issue with creating new contacts

Former-commit-id: 6e0d2e4c0ee30e92c0615357af2d657ed1a0be12
parent f1882f54
No related branches found
No related tags found
No related merge requests found
Pipeline #192988 canceled
......@@ -20766,6 +20766,16 @@
{
if (contact.attrib.uID == contact_uid)
{
console.log(currentGraph.organization)
if (typeof currentGraph.organization.organigram=="undefined")
{
currentGraph.organization.organigram = {architects: [], integrators: [], toolSpecialists: []};
}
if (typeof currentGraph.organization.contacts=="undefined")
{
currentGraph.organization.contacts = [];
}
//Show contact info
//############################################################
bootbox.hideAll();
......@@ -7,6 +7,14 @@
<fileVersion>0.1</fileVersion>
<cmdowsVersion>0.7</cmdowsVersion>
</header>
<organization>
<contacts></contacts>
<organigram>
<integrators></integrators>
<toolSpecialists></toolSpecialists>
<architects></architects>
</organigram>
</organization>
<executableBlocks>
<designCompetences>
<designCompetence uID="dummy">
......
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