[FIX] web_planner: tooltip on progress bar

This commit is contained in:
Simon Lejeune
2015-09-07 13:36:12 +02:00
parent dd807f02a3
commit ef3d0d87bc
2 changed files with 2 additions and 2 deletions
@@ -74,7 +74,7 @@ var PlannerLauncher = Widget.extend({
}
this.dialog = new PlannerDialog(this, planner);
this.dialog.appendTo($('<div>'));
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);
});
@@ -35,7 +35,7 @@ var WebsitePlannerLauncher = Widget.extend({
var self = this;
this.dialog = new planner.PlannerDialog(this, this.planner);
this.dialog.appendTo($('<div>'));
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);
});