parent
607114ff00
commit
411a07a64e
|
@ -2765,6 +2765,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() {
|
render_value: function() {
|
||||||
if (! this.get("effective_readonly")) {
|
if (! this.get("effective_readonly")) {
|
||||||
this.$textarea.val(this.get('value') || '');
|
this.$textarea.val(this.get('value') || '');
|
||||||
|
|
Loading…
Reference in New Issue