{
var iconCls = 'roo-navigation-bar-item-icon';
- Roo.log(this.icon);
-
- if(this.icon){
- iconCls += (this.icon) ? (' ' + this.icon) : (' step-number') ;
- }
+ iconCls += ((this.icon) ? (' ' + this.icon) : (' step-number')) ;
var cfg = {
tag: 'li',
cls : iconCls
}
]
- }
+ };
if(this.active){
cfg.cls += ' active';