From 37be8248456a76cb355f37ee5d2ed210bfac841c Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 14 Oct 2016 10:59:33 +0800 Subject: [PATCH] roojs-doc.js roojs-doc-debug.js --- roojs-doc-debug.js | 4 +++- roojs-doc.js | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/roojs-doc-debug.js b/roojs-doc-debug.js index cdcac0f380..3ca44154d1 100644 --- a/roojs-doc-debug.js +++ b/roojs-doc-debug.js @@ -615,8 +615,10 @@ Roo.extend(Roo.doc.NavCategory, Roo.bootstrap.Component, { var cfg ={ cn : [ + { tag : 'a', + cls: 'roo-nav-category', href : '#' + this.name, html : this.title }, @@ -630,7 +632,7 @@ Roo.extend(Roo.doc.NavCategory, Roo.bootstrap.Component, { }, getChildContainer : function() { - return this.el.select('roo-child-ctr').first(); + return this.el.select('roo-child-ctr',true).first(); } diff --git a/roojs-doc.js b/roojs-doc.js index 2ddd567eb6..0d7b910332 100644 --- a/roojs-doc.js +++ b/roojs-doc.js @@ -22,5 +22,5 @@ Roo.doc.Synopsis=function(A){Roo.doc.Synopsis.superclass.constructor.call(this,A var B=(this.is_static?'':'$')+this.memberof+(this.is_static?'::':'->');var C={tag:'h5',cls:'refsynopsisdiv',cn:[{cls:'funcsynopsis',cn:[{tag:'p',cn:{tag:'code',cls:'funcprototype',cn:[this.returntype+' '+B,{tag:'strong',cls:this.stype,html:this.name},'(',{tag:'span',cls:'roo-params'} ,')']}}]}]};return C;},getChildContainer:function(A){return this.el.select('.roo-params',true).first();}}); // Roo/doc/NavCategory.js -Roo.doc.NavCategory=function(A){Roo.doc.Para.superclass.constructor.call(this,A);};Roo.extend(Roo.doc.NavCategory,Roo.bootstrap.Component,{title:'',name:'',getAutoCreate:function(){var A={cn:[{tag:'a',href:'#'+this.name,html:this.title},{cls:'container roo-child-ctr'} -]};return A;},getChildContainer:function(){return this.el.select('roo-child-ctr').first();}}); +Roo.doc.NavCategory=function(A){Roo.doc.Para.superclass.constructor.call(this,A);};Roo.extend(Roo.doc.NavCategory,Roo.bootstrap.Component,{title:'',name:'',getAutoCreate:function(){var A={cn:[{tag:'a',cls:'roo-nav-category',href:'#'+this.name,html:this.title} +,{cls:'container roo-child-ctr'}]};return A;},getChildContainer:function(){return this.el.select('roo-child-ctr',true).first();}}); -- 2.39.2