[IMP]Destroy tooltip.
bzr revid: bth@tinyerp.com-20131206062152-15fi8v8xokyux40m
This commit is contained in:
parent
188d426500
commit
6ccb6423ea
|
@ -586,6 +586,7 @@ instance.web.ViewManager = instance.web.Widget.extend({
|
|||
this.$el.find('.oe_view_manager_switch a').attr('data-toggle', 'tooltip');
|
||||
this.$el.find('.oe_view_manager_switch a').click(function() {
|
||||
self.switch_mode($(this).data('view-type'));
|
||||
$(this).tooltip('destroy');
|
||||
}).tooltip({
|
||||
container: 'body',
|
||||
html: true,
|
||||
|
|
|
@ -423,7 +423,7 @@ instance.web_kanban.KanbanView = instance.web.View.extend({
|
|||
},
|
||||
on_record_moved : function(record, old_group, old_index, new_group, new_index) {
|
||||
var self = this;
|
||||
$.fn.tooltip('destroy');
|
||||
record.$el.children().find('[title]').tooltip('destroy');
|
||||
$(old_group.$el).add(new_group.$el).find('.oe_kanban_aggregates, .oe_kanban_group_length').hide();
|
||||
if (old_group === new_group) {
|
||||
new_group.records.splice(old_index, 1);
|
||||
|
|
Loading…
Reference in New Issue