Avoid an error if type is missing

This commit is contained in:
Nathan Gray 2013-05-06 17:12:45 +00:00
parent 0917e21707
commit d3f498f0f4

View File

@ -352,7 +352,7 @@ var et2_placeholder = et2_baseWidget.extend([et2_IDetachedDOM],
.addClass("et2_placeholder");
var headerNode = $j(document.createElement("span"))
.text(this._type)
.text(this._type || "")
.addClass("et2_caption")
.appendTo(this.placeDiv);