Roo/QuickTips.js
authorAlan Knowles <alan@roojs.com>
Wed, 29 Aug 2018 06:59:59 +0000 (14:59 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 29 Aug 2018 06:59:59 +0000 (14:59 +0800)
Roo/QuickTips.js

index cfb93ad..31d6515 100644 (file)
@@ -49,7 +49,7 @@ Roo.QuickTips = function(){
         if(ttp){
             showProc = show.defer(tm.showDelay, tm, [{
                 el: t, 
-                text: ttp.replace("/\\n/g", "<BR/>"),
+                text: ttp.replace(/\\n/g,'<br/>'),
                 width: et.getAttributeNS(ns, cfg.width),
                 autoHide: et.getAttributeNS(ns, cfg.hide) != "user",
                 title: et.getAttributeNS(ns, cfg.title),