t.removeAttribute("title");
e.preventDefault();
}else{
- ttp = t.qtip || et.getAttributeNS(ns, cfg.attribute);
+ ttp = t.qtip || et.getAttributeNS(ns, cfg.attribute) || et.getAttributeNS(cfg.alt_namespace, cfg.attribute) ;
}
if(ttp){
showProc = show.defer(tm.showDelay, tm, [{
el: t,
- text: ttp,
+ 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),
* @cfg {String} title
* Title text to display (defaults to ''). This can be any valid HTML markup.
*/
+ title: '',
/**
* @cfg {String} text
* Body text to display (defaults to ''). This can be any valid HTML markup.
*/
+ text : '',
/**
* @cfg {String} cls
* A CSS class to apply to the base quick tip element (defaults to '').
*/
+ cls : '',
/**
* @cfg {Number} width
* Width in pixels of the quick tip (defaults to auto). Width will be ignored if it exceeds the bounds of
* minWidth or maxWidth.
*/
+ width : null,
/**
* Initialize and enable QuickTips for first use. This should be called once before the first attempt to access
// private
tagConfig : {
- namespace : "ext",
+ namespace : "roo", // was ext?? this may break..
+ alt_namespace : "ext",
attribute : "qtip",
width : "width",
target : "target",