[MERGE] forward port of branch 7.0 up to 411a07a
This commit is contained in:
commit
1783a7d005
|
@ -2778,6 +2778,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