[ADD] Added tipsy.clear()
bzr revid: fme@openerp.com-20120209135939-pcnmoswvnqjjb6ik
This commit is contained in:
parent
a912c9b943
commit
af15e1d83e
|
@ -18,7 +18,7 @@
|
|||
|
||||
Tipsy.prototype = {
|
||||
show: function() {
|
||||
$('div.tipsy').stop().remove();
|
||||
$.fn.tipsy.clear();
|
||||
if (!this.$element.parent().length) {
|
||||
return;
|
||||
}
|
||||
|
@ -179,6 +179,10 @@
|
|||
return this;
|
||||
|
||||
};
|
||||
|
||||
$.fn.tipsy.clear = function() {
|
||||
$('div.tipsy').stop().remove();
|
||||
}
|
||||
|
||||
$.fn.tipsy.defaults = {
|
||||
className: null,
|
||||
|
|
|
@ -836,7 +836,7 @@ openerp.web.form.Widget = openerp.web.OldWidget.extend(/** @lends openerp.web.fo
|
|||
},
|
||||
stop: function() {
|
||||
this._super.apply(this, arguments);
|
||||
$('div.tipsy').stop().remove();
|
||||
$.fn.tipsy.clear();
|
||||
},
|
||||
process_modifiers: function() {
|
||||
var compute_domain = openerp.web.form.compute_domain;
|
||||
|
|
Loading…
Reference in New Issue