[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
This commit is contained in:
Fabien Meghazi
2011-11-28 15:03:02 +01:00
parent 10a371398e
commit 8c593ea507
@@ -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");