*/
/**
- * @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'
};