Avoid errors if _value is null / undefined

This commit is contained in:
Nathan Gray 2013-02-13 09:49:43 +00:00
parent 54b1fb9ce4
commit 6949040f86

View File

@ -112,6 +112,7 @@ var et2_description = et2_baseWidget.extend([et2_IDetachedDOM], {
},
set_value: function(_value) {
if(!_value) _value = "";
et2_insertLinkText(this._parseText(_value),
this.span[0],
this.options.extra_link_target