@@ -110,11 +110,7 @@ ProjectM36Connection.prototype.generateAtomType = function(attr)
110110 var attrName = attr[0];
111111 var element = document.createElement("span");
112112 element.textContent = attrName + "::";
113− if(atomType == "AtomType")
114− {
115− element.textContent += attr[1]["contents"]["serialrep"][0][2];
116− }
117− else if (atomType == "RelationAtomType")
113+ if (atomType == "RelationAtomType")
118114 {
119115 var table = document.createElement("table");
120116 element.appendChild(table);
@@ -133,7 +129,8 @@ ProjectM36Connection.prototype.generateAtomType = function(attr)
133129 }
134130 else
135131 {
136− element.textContent = "unknown";
132+ var readableType = atomType.slice(0,-8);
133+ element.textContent += readableType;
137134 }
138135 return element
139136}