[FIX]few errors

bzr revid: csn@openerp.com-20140416134655-1e4q8e8i30qj9y7t
This commit is contained in:
Cedric Snauwaert 2014-04-16 15:46:55 +02:00
parent 20556abc08
commit 37fab3d03d
2 changed files with 2 additions and 1 deletions

View File

@ -926,6 +926,7 @@ instance.web_kanban.KanbanRecord = instance.web.Widget.extend({
var self = this;
this.setup_color_picker();
this.$el.find('[title]').tooltip({
delay: { show: 500, hide: 0},
title: function() {
var template = $(this).attr('tooltip');
if (!self.view.qweb.has_template(template)) {

View File

@ -29,7 +29,7 @@ instance.web_kanban.SparklineBarWidget = instance.web_kanban.AbstractField.exten
}
}, self.options);
self.$el.sparkline(value, sparkline_options);
self.$el.children().tooltip({delay: {show: self.options.delayIn || 0, hide: 0}, html: true, title: function(){return title}, placement: 'bottom'});
self.$el.tooltip({delay: {show: self.options.delayIn || 0, hide: 0}, html: true, title: function(){return title}, placement: 'bottom'});
}, 0);
},
});