summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2019-12-18 13:16:01 +0000
committerqsm-odoo <qsm@odoo.com>2019-12-18 13:16:31 +0000
commit04bd01611610c78c8d8e6996b1e22516d814057b (patch)
tree9c0025814097e25b802d489ffa2d0bef67b6278a /addons/web/static/src/js/views/basic/basic_model.js
parent9d539cd8c521b24bf48f32304835aba5451aaafe (diff)
[FIX] website, *: fix tabs breaking when increasing number of columns
* web_editor Previously, increasing the number of columns on the tabs snippet would cause the newly created tabs to toggle the original tabs instead of its own, this was caused by an oversight where the columns were clone directly using jQuery, and the snippets' the onClone method was not called on the newly created columns (here, tabs). This commit move the responsibility to clone onto the SnippetsMenu so that it can create the appropriate snippetEditor if needed and call its onClone method. task-2070643 closes odoo/odoo#42130 X-original-commit: 77ebadfe6ada8ad1fa4d6e476b9534f252499d92 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions