From 6949040f86711827874f32226a913e8a456798c4 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 13 Feb 2013 09:49:43 +0000 Subject: [PATCH] Avoid errors if _value is null / undefined --- etemplate/js/et2_widget_description.js | 1 + 1 file changed, 1 insertion(+) diff --git a/etemplate/js/et2_widget_description.js b/etemplate/js/et2_widget_description.js index c01b0e7bcb..b40399e2cb 100644 --- a/etemplate/js/et2_widget_description.js +++ b/etemplate/js/et2_widget_description.js @@ -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