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