|
@ -78,11 +78,11 @@ Group.prototype.setData = function(data) { |
|
|
if (content instanceof Element) { |
|
|
if (content instanceof Element) { |
|
|
this.dom.inner.appendChild(content); |
|
|
this.dom.inner.appendChild(content); |
|
|
} |
|
|
} |
|
|
else if (content != undefined) { |
|
|
|
|
|
|
|
|
else if (content !== undefined && content !== null) { |
|
|
this.dom.inner.innerHTML = content; |
|
|
this.dom.inner.innerHTML = content; |
|
|
} |
|
|
} |
|
|
else { |
|
|
else { |
|
|
this.dom.inner.innerHTML = this.groupId; |
|
|
|
|
|
|
|
|
this.dom.inner.innerHTML = this.groupId || ''; // groupId can be null
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// update title
|
|
|
// update title
|
|
|