X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=Roo%2Fbootstrap%2Fnav%2FSidebarItem.js;fp=Roo%2Fbootstrap%2FNavSidebarItem.js;h=8728ceec619aa8cee0b3388f969d67f300bcf0fc;hp=893b962789f90a4525fa1f9e79a351523eb16369;hb=e01802ac69da0ec0c9ccecc295beff82c1779f68;hpb=0fa7894b7489284160ff14afdca7b6911983357f diff --git a/Roo/bootstrap/NavSidebarItem.js b/Roo/bootstrap/nav/SidebarItem.js similarity index 93% rename from Roo/bootstrap/NavSidebarItem.js rename to Roo/bootstrap/nav/SidebarItem.js index 893b962789..8728ceec61 100644 --- a/Roo/bootstrap/NavSidebarItem.js +++ b/Roo/bootstrap/nav/SidebarItem.js @@ -10,9 +10,10 @@ */ /** - * @class Roo.bootstrap.NavSidebarItem - * @extends Roo.bootstrap.NavItem + * @class Roo.bootstrap.nav.SidebarItem + * @extends Roo.bootstrap.nav.Item * Bootstrap Navbar.NavSidebarItem class + * * {String} badgeWeight (default|primary|success|info|warning|danger)the extra classes for the badge * {Boolean} open is the menu open * {Boolean} buttonView use button as the tigger el rather that a (default false) @@ -23,8 +24,8 @@ * Create a new Navbar Button * @param {Object} config The config object */ -Roo.bootstrap.NavSidebarItem = function(config){ - Roo.bootstrap.NavSidebarItem.superclass.constructor.call(this, config); +Roo.bootstrap.nav.SidebarItem = function(config){ + Roo.bootstrap.nav.SidebarItem.superclass.constructor.call(this, config); this.addEvents({ // raw events /** @@ -36,7 +37,7 @@ Roo.bootstrap.NavSidebarItem = function(config){ /** * @event changed * Fires when the active item active state changes - * @param {Roo.bootstrap.NavSidebarItem} this + * @param {Roo.bootstrap.nav.SidebarItem} this * @param {boolean} state the new state */ @@ -45,7 +46,7 @@ Roo.bootstrap.NavSidebarItem = function(config){ }; -Roo.extend(Roo.bootstrap.NavSidebarItem, Roo.bootstrap.NavItem, { +Roo.extend(Roo.bootstrap.nav.SidebarItem, Roo.bootstrap.nav.Item, { badgeWeight : 'default',