Roo/doc/NavCategory.js
authorAlan Knowles <alan@roojs.com>
Fri, 14 Oct 2016 02:05:48 +0000 (10:05 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 14 Oct 2016 02:05:48 +0000 (10:05 +0800)
Roo/doc/NavCategory.js

index a31bfdb..d2178b5 100644 (file)
@@ -23,7 +23,7 @@
  * @param {Object} config The config object
  */
 
-Roo.doc.Para = function(config){
+Roo.doc.NavCategory = function(config){
     Roo.doc.Para.superclass.constructor.call(this, config);
 };
 
@@ -44,13 +44,19 @@ Roo.extend(Roo.doc.Para, Roo.bootstrap.Component,  {
                     tag : 'a',
                     href : '#' + this.name,
                     html : this.title
+                },
+                {
+                    cls : 'container roo-child-ctr'
                 }
             ]
         };
 
         return cfg;
+    },
+    getChildContainer : function()
+    {
+        return this.el.select('roo-child-ctr').first();
     }
-