[FIX] Tooltips stays visible after it's trigger element has been removed

bzr revid: fme@openerp.com-20120126143734-7zl3gczn5x61k2u1
This commit is contained in:
Fabien Meghazi 2012-01-26 15:37:34 +01:00
parent 0a692eb7de
commit 1b011182da
1 changed files with 4 additions and 0 deletions

View File

@ -784,6 +784,10 @@ openerp.web.form.Widget = openerp.web.OldWidget.extend(/** @lends openerp.web.fo
this.$element = this.view.$element.find(
'.' + this.element_class.replace(/[^\r\n\f0-9A-Za-z_-]/g, "\\$&"));
},
stop: function() {
this._super.apply(this, arguments);
$('div.tipsy').stop().remove();
},
process_modifiers: function() {
var compute_domain = openerp.web.form.compute_domain;
for (var a in this.modifiers) {