Commit c214e10d authored by Nick Poulden's avatar Nick Poulden
Browse files

Add config for auto expanding tree

parent 29db0586
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ Ext.define('Docs.view.GroupTree', {
        Ext.Array.each(this.data, function(group) {
            this.root.children.push({
                text: group.title,
                expanded: this.expandRootChildren,
                children: Ext.Array.map(group.items, this.convert),
                iconCls: 'icon-pkg'
            });
+1 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@ Ext.define('Docs.view.TreeContainer', {
            {
                xtype: 'grouptree',
                id: 'guidetree',
                expandRootChildren: true,
                data: Docs.data.guides,
                convert: function(guide) {
                    return {