better support for mailchimp emails
[roojs1] / Roo / bootstrap / Navbar.Item.js
index d9ac22d..3689bdf 100644 (file)
@@ -2,62 +2,10 @@
  * - LGPL
  *
  * row
- * 
  */ 
-Roo.bootstrap.Navbar.Item = function(config){
-    Roo.bootstrap.Navbar.Item.superclass.constructor.call(this, config);
-};
-
-Roo.extend(Roo.bootstrap.Navbar.Item, Roo.bootstrap.Component,  {
-    
-    href : false,
-    html : false,
-    badge : '',
-    
-    autoCreate : {
-        tag : 'li'
-    },
-    
-    getAutoCreate : function(){
-        
-        var cfg = Roo.apply({}, Roo.bootstrap.Navbar.Item.superclass.getAutoCreate.call(this));
-       cfg.cn = [
-            {
-               tag: 'p',
-               html: 'Text'
-            }
-        ];
-       
-        cfg.cn[0].html = this.html || cfg.cn[0].html ;
-       
-       if (!this.href) {
-           cfg.cn[0].tag='p';
-           cfg.cn[0].cls='navbar-text';
-       } else {
-           cfg.cn[0].tag='a';
-           cfg.cn[0].href=this.href;
-           cfg.cn[0].html=this.html;
-       }
-       
-       if (this.badge !== '') {
-           
-           cfg.cn[0].cn=[
-               cfg.cn[0].html + ' ',
-               {
-                   tag: 'span',
-                   cls: 'badge',
-                   html: this.badge
-               }
-           ];
-           cfg.cn[0].html=''
-       }
-        
-       
-        return cfg;
-    }
-   
-});
-
+ // moved to Navbar/Item.js
  
 
  
\ No newline at end of file