If an empty value is passed, make sure text is cleared

This commit is contained in:
Nathan Gray 2011-10-07 16:58:36 +00:00
parent e9f4f4f3b3
commit a33accfdbb

View File

@ -162,6 +162,7 @@ var et2_textbox_ro = et2_valueWidget.extend({
set_value: function(_value) {
this.value = _value;
if(!_value) _value = "";
this.span.text(_value);
}