[FIX]few errors
bzr revid: csn@openerp.com-20140416134655-1e4q8e8i30qj9y7t
This commit is contained in:
parent
20556abc08
commit
37fab3d03d
|
@ -926,6 +926,7 @@ instance.web_kanban.KanbanRecord = instance.web.Widget.extend({
|
||||||
var self = this;
|
var self = this;
|
||||||
this.setup_color_picker();
|
this.setup_color_picker();
|
||||||
this.$el.find('[title]').tooltip({
|
this.$el.find('[title]').tooltip({
|
||||||
|
delay: { show: 500, hide: 0},
|
||||||
title: function() {
|
title: function() {
|
||||||
var template = $(this).attr('tooltip');
|
var template = $(this).attr('tooltip');
|
||||||
if (!self.view.qweb.has_template(template)) {
|
if (!self.view.qweb.has_template(template)) {
|
||||||
|
|
|
@ -29,7 +29,7 @@ instance.web_kanban.SparklineBarWidget = instance.web_kanban.AbstractField.exten
|
||||||
}
|
}
|
||||||
}, self.options);
|
}, self.options);
|
||||||
self.$el.sparkline(value, sparkline_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);
|
}, 0);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue