[FIX] corrected small problem that made appear "false" in empty field text
bzr revid: nicolas.vanhoren@openerp.com-20130314135141-lnifcsa405qzjp0j
This commit is contained in:
parent
eccd12b5c3
commit
3d53abcc8e
|
@ -2602,7 +2602,7 @@ instance.web.form.FieldText = instance.web.form.AbstractField.extend(instance.we
|
|||
this.$textarea.trigger("autosize");
|
||||
}
|
||||
} else {
|
||||
var txt = this.get("value");
|
||||
var txt = this.get("value") || '';
|
||||
this.$(".oe_form_text_content").text(txt);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue