diff options
| author | Denis Vermylen (dve) <dve@odoo.com> | 2016-08-24 17:14:41 +0200 |
|---|---|---|
| committer | Denis Vermylen (dve) <dve@odoo.com> | 2016-08-31 17:17:37 +0200 |
| commit | fbe3608c7e9ceeaeb4d1204ec8193ad6aaa4d0f0 (patch) | |
| tree | bc38fcd75fb7c50806c3fe497710a1c7002dcc36 /addons/website/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js | |
| parent | 275ee5825d38841a3eb21bb195722f3ceed09005 (diff) | |
[FIX] web: avoid autoresize duplicates
In web_planner, changing pages would take more and more time after
a few clicks if autoresize was called on textareas. Every time we
would change page, autoresize was called on all textareas and added
an additional textarea for each one, doubling the amount on each page
change.
The autoresize function in dom_utils was checking too shallowly for
duplicates and created a new textarea where autoresize would again be
called upon on a later stage.
This commit fixes both problems.
Diffstat (limited to 'addons/website/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions
