diff options
| author | Aaron Bohy <aab@odoo.com> | 2019-03-20 10:08:44 +0000 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2019-04-02 11:55:57 +0000 |
| commit | d0164d834bb18f37f15a129e911f7d8e1c54b7c3 (patch) | |
| tree | d8a54db700bd97aaa91815b202c992815e4ebc50 /addons/web/static/src/js/core/dom.js | |
| parent | 9fbb4fb44ff92cdee53454ab328c10ae66a11aa0 (diff) | |
[IMP] web,account: editable list: no more position absolute
Before this rev., widgets were absolutely positioned in table
cells. This cause an undesired effect with text fields, as their
textarea overflowed and overlapped the next lines.
With this rev., wigdets are now statically positioned, and the cells
height and width don't change when switching a row to edit mode.
Part of task 1915702
Diffstat (limited to 'addons/web/static/src/js/core/dom.js')
| -rw-r--r-- | addons/web/static/src/js/core/dom.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/core/dom.js b/addons/web/static/src/js/core/dom.js index e618b644eaa..81211788246 100644 --- a/addons/web/static/src/js/core/dom.js +++ b/addons/web/static/src/js/core/dom.js @@ -102,7 +102,7 @@ var dom = { } options = options || {}; - minHeight = (options && options.min_height) || 50; + minHeight = 'min_height' in options ? options.min_height : 50; $fixedTextarea = $('<textarea disabled>', { class: $textarea[0].className, |
