[MERGE] forward port of branch saas-3 up to 1783a7d
This commit is contained in:
commit
d744923b63
|
@ -2964,6 +2964,10 @@ instance.web.form.FieldTextHtml = instance.web.form.AbstractField.extend(instanc
|
|||
}
|
||||
}
|
||||
},
|
||||
focus: function() {
|
||||
var input = !this.get("effective_readonly") && this.$cleditor
|
||||
return input ? input.focus() : false;
|
||||
},
|
||||
render_value: function() {
|
||||
if (! this.get("effective_readonly")) {
|
||||
this.$textarea.val(this.get('value') || '');
|
||||
|
|
Loading…
Reference in New Issue