try and get ctrl-enter to add a clear all
[roojs1] / docs / Roo.docs.init.js
index 8074eb6..87a0204 100644 (file)
@@ -124,10 +124,9 @@ Roo.docs.init = {
             preventDefault : true,
           //  cls : type == 'NavSidebarItem' ? 'open' : '',
             listeners : {
-                click : (function(mi,ev, lv, c)
+                click : (function(mi,ev, c)
                 {
-                    Roo.log(arguments);
-                    ev.stopEvent();
+                     ev.stopEvent();
                      
                     if (c.cn.length && mi.xtype == 'MenuItem') {
                         //Roo.log(ev);
@@ -154,7 +153,7 @@ Roo.docs.init = {
                 xns: Roo.bootstrap,
                 xtype : 'Menu',
                 listeners : {
-                    beforehide : (function(mi,lv, c)
+                    beforehide : (function(mi, c)
                     {
                         if (Roo.docs.init.prefix.length) {
                             return;
@@ -418,13 +417,20 @@ Roo.docs.init = {
             Roo.docs.augments.hide();
         }
         
-        if (d.realImplementors && d.realImplementors.length) { 
+        if (d.childClasses && typeof(d.childClasses[d.name]) != 'undefined') { 
             Roo.docs.implementors.show();
             Roo.docs.implementors.bodyEl().dom.innerHTML = Roo.docs.template.implementors(d);
         } else {
             Roo.docs.implementors.hide();
         }
         
+        if (d.tree_children && d.tree_children.length > 0) {
+            Roo.docs.doc_children.show();
+            Roo.docs.doc_children.bodyEl().dom.innerHTML = Roo.docs.template.doc_children(d);
+        } else {
+            Roo.docs.doc_children.hide();
+        }
+        
         
         Roo.docs.configTableContainer.hide();
         Roo.docs.methodsTableContainer.hide();