summaryrefslogtreecommitdiff
path: root/addons/project/static/src
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2016-08-25 14:58:46 +0200
committerqsm-odoo <qsm@odoo.com>2016-08-26 09:30:38 +0200
commit5c2274e169571f20a97ae03e2bfc0f5d558d2681 (patch)
treeff89ecf7797ed65085d29a74e0778298eee66227 /addons/project/static/src
parent450c6853503b5d504235cd736775b641c067b381 (diff)
[IMP] crm, project: do not assume number of records in column during tour
Diffstat (limited to 'addons/project/static/src')
-rw-r--r--addons/project/static/src/js/tour.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/project/static/src/js/tour.js b/addons/project/static/src/js/tour.js
index a05c2958510..4f9813c61d0 100644
--- a/addons/project/static/src/js/tour.js
+++ b/addons/project/static/src/js/tour.js
@@ -39,7 +39,7 @@ tour.register('project_tour', {
position: "right"
}, {
trigger: ".o-kanban-button-new",
- extra_trigger: '.o_kanban_project_tasks .o_kanban_group:nth-child(2)',
+ extra_trigger: '.o_kanban_project_tasks .o_kanban_group:eq(2)',
content: _t("Now that the project is set up, <b>create a few tasks</b>."),
position: "right"
}, {
@@ -47,7 +47,7 @@ tour.register('project_tour', {
extra_trigger: '.o_kanban_project_tasks',
content: _t("<b>Drag &amp; drop tasks</b> between columns as you work on them."),
position: "right",
- run: "drag_and_drop .o_kanban_group:nth-child(2)",
+ run: "drag_and_drop .o_kanban_group:eq(2) ",
}, {
trigger: ".o_kanban_record .o_priority_star",
extra_trigger: '.o_kanban_project_tasks',