var top = new Roo.bootstrap.Element({
tag : 'div',
cls : 'roo-navigation-bar-text',
- html : (typeof(cfg.position) != 'undefined' && cfg.position == 'top') ? cfg.html : ''
+ cn : [
+ {
+ tag : 'span',
+ html : (typeof(cfg.position) != 'undefined' && cfg.position == 'top') ? cfg.html : ''
+ }
+ ]
});
var bottom = new Roo.bootstrap.Element({
tag : 'div',
cls : 'roo-navigation-bar-text',
- html : (typeof(cfg.position) != 'undefined' && cfg.position == 'top') ? '' : cfg.html
+ cn : [
+ {
+ tag : 'span',
+ html : (typeof(cfg.position) != 'undefined' && cfg.position == 'top') ? '' : cfg.html
+ }
+ ]
});
top.onRender(this.el.select('.roo-navigation-top-bar', true).first(), null);