From ef3d0d87bc5dea46edc00731f9a1e0b35245b95d Mon Sep 17 00:00:00 2001 From: Simon Lejeune Date: Mon, 7 Sep 2015 13:36:12 +0200 Subject: [PATCH] [FIX] web_planner: tooltip on progress bar --- addons/web_planner/static/src/js/web_planner_backend.js | 2 +- addons/website/static/src/js/web_planner_website.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/web_planner/static/src/js/web_planner_backend.js b/addons/web_planner/static/src/js/web_planner_backend.js index 062a0794650..1ab11ae2a01 100644 --- a/addons/web_planner/static/src/js/web_planner_backend.js +++ b/addons/web_planner/static/src/js/web_planner_backend.js @@ -74,7 +74,7 @@ var PlannerLauncher = Widget.extend({ } this.dialog = new PlannerDialog(this, planner); this.dialog.appendTo($('
')); - this.$(".o_planner_progress").tooltip({html: true, title: this.planner.tooltip_planner, placement: 'bottom', delay: {'show': 500}}); + this.$(".progress").tooltip({html: true, title: this.planner.tooltip_planner, placement: 'bottom', delay: {'show': 500}}); this.dialog.on("planner_progress_changed", this, function(percent){ self.update_parent_progress_bar(percent); }); diff --git a/addons/website/static/src/js/web_planner_website.js b/addons/website/static/src/js/web_planner_website.js index e36840def47..84e7674e409 100644 --- a/addons/website/static/src/js/web_planner_website.js +++ b/addons/website/static/src/js/web_planner_website.js @@ -35,7 +35,7 @@ var WebsitePlannerLauncher = Widget.extend({ var self = this; this.dialog = new planner.PlannerDialog(this, this.planner); this.dialog.appendTo($('
')); - this.$(".o_planner_progress").tooltip({html: true, title: this.planner.tooltip_planner, placement: 'bottom', container: 'body', delay: {'show': 700}}); + this.$(".progress").tooltip({html: true, title: this.planner.tooltip_planner, placement: 'bottom', container: 'body', delay: {'show': 700}}); this.dialog.on("planner_progress_changed", this, function(percent) { self.update_parent_progress_bar(percent); });