summaryrefslogtreecommitdiff
path: root/odoo/addons/test_new_api/static
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-07-16 16:49:25 +0200
committerqsm-odoo <qsm@odoo.com>2018-07-27 12:36:54 +0200
commit09f40036b9c14161db90c6128861369c91c8c64e (patch)
tree08fd442d12641d11e2dc20b018d43d004ff264d7 /odoo/addons/test_new_api/static
parentde214e37429213fe9f329ff3f11885fee3e271c4 (diff)
[REF] *: BS4, review the 'nav' and 'navbar' components
Now the nav structure is more declarative: the 'nav-item' and 'nav-link' classes have to be put on related nav item and links. Also, the 'active' class has to be put on links instead of items. Same as for the navbar component: - The navbar structure was simplified and meant to be more declarative. - The navbar colors are also now handled by a different set of classes. The 'nav-stacked' class was removed and replaced by flex utilities. The set of classes for colors and nav styles also changed.
Diffstat (limited to 'odoo/addons/test_new_api/static')
-rw-r--r--odoo/addons/test_new_api/static/tests/x2many.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/odoo/addons/test_new_api/static/tests/x2many.js b/odoo/addons/test_new_api/static/tests/x2many.js
index ecdab8317de..459df1c9311 100644
--- a/odoo/addons/test_new_api/static/tests/x2many.js
+++ b/odoo/addons/test_new_api/static/tests/x2many.js
@@ -179,7 +179,7 @@ odoo.define('web.test.x2many', function (require) {
}, { // add message d
content: "create new message d",
trigger: '.tab-pane:eq(0) .o_field_x2many_list_row_add a',
- extra_trigger: 'li.active a[data-toggle="tab"]:contains(Messages)',
+ extra_trigger: 'a[data-toggle="tab"].active:contains(Messages)',
}, {
content: "insert body",
trigger: 'textarea[name="body"]:first',
@@ -432,7 +432,7 @@ odoo.define('web.test.x2many', function (require) {
}, { // add message eee
content: "create new message eee",
trigger: '.tab-pane:eq(0) .o_field_x2many_list_row_add a',
- extra_trigger: 'li.active a[data-toggle="tab"]:contains(Messages)',
+ extra_trigger: 'a[data-toggle="tab"].active:contains(Messages)',
}, {
content: "change text value",
trigger: 'textarea[name="body"]:first',