From 9f0171d3a50d0256985b4accd85b7e32fe5733fe Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 9 Sep 2016 11:16:30 +0800 Subject: [PATCH] Roo/doc/Section.js --- Roo/doc/Section.js | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/Roo/doc/Section.js b/Roo/doc/Section.js index be6016cb16..ae015e9dba 100644 --- a/Roo/doc/Section.js +++ b/Roo/doc/Section.js @@ -43,10 +43,20 @@ Roo.extend(Roo.doc.Section, Roo.bootstrap.Component, { if (this.stype == 'parameter') { // db package uses variable list here... - it results in dd/dl but the layout is messed up.. - cfg.cn.push({ + + var ul = { tag: 'ul', - cls: 'itemizedlist roo-params' - }); + cls: 'itemizedlist roo-params', + cn : [] + } + // might not have any.. + var params = this.parent.items[0].items; + for (var i =0; i < params.length;i++) { + ul.cn.push( params[i].getAutoCreateParam() ) + } + + + cfg.cn.push(ul); } -- 2.39.2