Fix #6464 - card header
[roojs1] / Roo / bootstrap / NavSidebar.js
index 76fb4df..df2284e 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 /**
- * @class Roo.bootstrap.NavSimplebar
+ * @class Roo.bootstrap.NavSidebar
  * @extends Roo.bootstrap.Navbar
  * Bootstrap Sidebar class
  * 
  */
 
 
-Roo.bootstrap.NavSimplebar = function(config){
-    Roo.bootstrap.NavSimplebar.superclass.constructor.call(this, config);
+Roo.bootstrap.NavSidebar = function(config){
+    Roo.bootstrap.NavSidebar.superclass.constructor.call(this, config);
 };
 
-Roo.extend(Roo.bootstrap.NavSimplebar, Roo.bootstrap.Navbar,  {
+Roo.extend(Roo.bootstrap.NavSidebar, Roo.bootstrap.Navbar,  {
     
+    sidebar : true, // used by Navbar Item and NavbarGroup at present...
     
     getAutoCreate : function(){
         
         
         return  {
             tag: 'div',
-            cls: 'sidebar-nav'
+            cls: 'sidebar sidebar-nav'
         };