[FIX]destroy tooltip because after expanding inner menu, paren menu ellipsis deactived.
bzr revid: vme@tinyerp.com-20140421092638-1qq85mrfrpt0rjc1
This commit is contained in:
parent
099ba54e28
commit
4a5e671166
|
@ -860,10 +860,7 @@ instance.web.Menu = instance.web.Widget.extend({
|
|||
}
|
||||
}
|
||||
this.$secondary_menus.find('.oe_secondary_submenu li a span').each(function() {
|
||||
var $el = $(this);
|
||||
if (this.scrollWidth > this.clientWidth) {
|
||||
$el.tooltip({title: $el.attr('title', $el.text().trim())});
|
||||
}
|
||||
$(this).tooltip(this.scrollWidth > this.clientWidth? {title: $(this).text().trim()} :'destroy');
|
||||
});
|
||||
},
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue