From e2466df634070b5deedffc4a2ce963cb3233269b Mon Sep 17 00:00:00 2001 From: bth-openerp Date: Thu, 5 Dec 2013 19:02:43 +0530 Subject: [PATCH] [IMP]Add tooltip for gantt view. bzr revid: bth@tinyerp.com-20131205133243-axu3hkmicy7tq1lt --- addons/web_gantt/static/src/js/gantt.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/web_gantt/static/src/js/gantt.js b/addons/web_gantt/static/src/js/gantt.js index 74a1aa9e0ed..8cee29cf2fd 100644 --- a/addons/web_gantt/static/src/js/gantt.js +++ b/addons/web_gantt/static/src/js/gantt.js @@ -202,6 +202,7 @@ instance.web_gantt.GanttView = instance.web.View.extend({ } // Fix for IE to display the content of gantt view. this.$el.find(".oe_gantt td:first > div, .oe_gantt td:eq(1) > div > div").css("overflow", ""); + this.$el.children().find('[title]').attr('data-toggle', 'tooltip').tooltip({placement: 'bottom', container: 'body', html: true}); }, on_task_changed: function(task_obj) { var self = this;