diff options
| author | Fabien Meghazi <fme@openerp.com> | 2011-11-28 15:03:02 +0100 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2011-11-28 15:03:02 +0100 |
| commit | 8c593ea507bf42438f5a0653f2bea70e55deee48 (patch) | |
| tree | efbd7b3c042f471001a8652c989631c5a8014b53 /addons/web/static | |
| parent | 10a371398ea7f645ef44ee3077943863f033f64d (diff) | |
[IMP] jQuery tipTip: call options.content() with 'this' == element
Note: will maintain forked version here
https://github.com/amigrave/TipTip
bzr revid: fme@openerp.com-20111128140302-uukrsnpfneksr9co
Diffstat (limited to 'addons/web/static')
| -rw-r--r-- | addons/web/static/lib/jquery.tipTip/jquery.tipTip.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/lib/jquery.tipTip/jquery.tipTip.js b/addons/web/static/lib/jquery.tipTip/jquery.tipTip.js index 0b3a24d4beb..d5295f1e155 100644 --- a/addons/web/static/lib/jquery.tipTip/jquery.tipTip.js +++ b/addons/web/static/lib/jquery.tipTip/jquery.tipTip.js @@ -94,7 +94,7 @@ function active_tiptip(){ opts.enter.call(this); - var org_title = typeof opts.content === 'function' ? opts.content() : opts.content; + var org_title = typeof opts.content === 'function' ? opts.content.call(org_elem, opts) : opts.content; org_title = org_title || org_elem.attr(opts.attribute); tiptip_content.html(org_title); tiptip_holder.hide().removeAttr("class").css("margin","0"); |
