diff options
| author | Fabien Meghazi <fme@openerp.com> | 2012-02-09 11:54:01 +0100 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2012-02-09 11:54:01 +0100 |
| commit | 0d7ff5dec8e6b800945d4616215b671a5e80bbd8 (patch) | |
| tree | 4aea8f215f7aeac82cbbef5abf39aab869767b26 /addons/web/static/lib | |
| parent | 1f189228b5a0eb4ef2c336db484e47239a130d5e (diff) | |
[FIX] Fix some tipsy stuff
Autobound on 'n' fails with absolute positioned elements.
Make tipsy checks that it's element is still attached to another element
bzr revid: fme@openerp.com-20120209105401-1jl11sy9z1qdwu3t
Diffstat (limited to 'addons/web/static/lib')
| -rw-r--r-- | addons/web/static/lib/jquery.tipsy/jquery.tipsy.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/web/static/lib/jquery.tipsy/jquery.tipsy.js b/addons/web/static/lib/jquery.tipsy/jquery.tipsy.js index 9567ed3bacc..d33cef28462 100644 --- a/addons/web/static/lib/jquery.tipsy/jquery.tipsy.js +++ b/addons/web/static/lib/jquery.tipsy/jquery.tipsy.js @@ -18,6 +18,10 @@ Tipsy.prototype = { show: function() { + $('div.tipsy').stop().remove(); + if (!this.$element.parent().length) { + return; + } var title = this.getTitle(); if (title && this.enabled) { var $tip = this.tip(); |
