Fix #6464 - card header
[roojs1] / Roo / bootstrap / NavProgressItem.js
index da09f7f..5c4ceeb 100644 (file)
@@ -15,7 +15,6 @@
  * @cfg {String} html
  * @cfg {String} position (top|bottom) text position default bottom
  * @cfg {String} icon show icon instead of number
- * @cfg {Boolean} forceIcon (true|false) true to force show icon..
  * 
  * @constructor
  * Create a new NavProgressItem
@@ -44,20 +43,12 @@ Roo.extend(Roo.bootstrap.NavProgressItem, Roo.bootstrap.Component,  {
     html : '',
     position : 'bottom',
     icon : false,
-    forceIcon : false,
     
     getAutoCreate : function()
     {
         var iconCls = 'roo-navigation-bar-item-icon';
         
-//        if((this.forceIcon)){
-//            iconCls += ' force';
-//        }
-//        
-
-        if(this.icon){
-            iconCls += (this.icon) ? (' ' + this.icon) : (' step-number') ;
-        }
+        iconCls += ((this.icon) ? (' ' + this.icon) : (' step-number')) ;
         
         var cfg = {
             tag: 'li',
@@ -68,7 +59,7 @@ Roo.extend(Roo.bootstrap.NavProgressItem, Roo.bootstrap.Component,  {
                     cls : iconCls
                 }
             ]
-        }
+        };
         
         if(this.active){
             cfg.cls += ' active';