diff options
| author | Bhumi Thakkar (Open ERP) <bth@tinyerp.com> | 2013-02-15 16:39:27 +0530 |
|---|---|---|
| committer | Bhumi Thakkar (Open ERP) <bth@tinyerp.com> | 2013-02-15 16:39:27 +0530 |
| commit | b7ce267cbc32c192ab960b1ba8be44d63ec2ba13 (patch) | |
| tree | 9cabc75f2864e26b33cf61807a67eee11f989639 /addons/web/static/src | |
| parent | 5d31ed34d04163d59ccd4511d2626172aa6610b5 (diff) | |
[IMP] Improve code to fix issue in editing list for m2m field.
bzr revid: bth@tinyerp.com-20130215110927-eu4n0sk21czcymwp
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/js/view_form.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index 4880b3882ff..703ef27f1c3 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -4094,6 +4094,13 @@ instance.web.form.FieldMany2ManyTags = instance.web.form.AbstractField.extend(in focus: function () { this.$text[0].focus(); }, + set_dimensions: function (height, width) { + this._super(height, width); + this.$("textarea").css({ + width: width, + minHeight: height + }); + }, }); /** |
