[IMP]\n replaced by <br />.

bzr revid: bth@tinyerp.com-20131212103342-tddr7vr29zud3vwb
This commit is contained in:
bth-openerp
2013-12-12 16:03:42 +05:30
parent ec96bb513b
commit 898c293e25
@@ -250,7 +250,7 @@
Tooltip.prototype.setContent = function () {
var $tip = this.tip()
var title = this.getTitle()
title = title.search("oe_tooltip_string") != -1 ? title : title.replace(/\n/g, "<br />");
$tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
$tip.removeClass('fade in top bottom left right')
}