X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=docs%2Fsymbols%2Fsrc%2FRoo_doc_Section.js.html;h=2173fa8a79356b4beb6449a6ca27b4b00876fc7d;hb=e90e5faeff4cceef9510b0d003e5d10621fe4b32;hp=c47934ebabeb0286d9c64400088345665d10296e;hpb=6a440ac275b620b206ea888eb7568c67cacb79e2;p=roojs1
diff --git a/docs/symbols/src/Roo_doc_Section.js.html b/docs/symbols/src/Roo_doc_Section.js.html
index c47934ebab..2173fa8a79 100644
--- a/docs/symbols/src/Roo_doc_Section.js.html
+++ b/docs/symbols/src/Roo_doc_Section.js.html
@@ -26,7 +26,7 @@
getAutoCreate : function(){
-
+ var syn = Roo.factory(this.parent().items[0]);
var cfg ={
@@ -50,7 +50,7 @@
cn : []
};
var params = this.parent().items[0].items;
+ var params = syn.items;
for (var i =0; i < params.length;i++) {
ul.cn.push( Roo.factory(params[i]).getAutoCreateParamSection() )
}
@@ -58,7 +58,23 @@
cfg.cn.push(ul);
}
-
+ if (this.stype == 'return' && syn.returndesc.length) {
+
+ cfg.cn.push({
+ tag: 'p',
+ cls : 'para',
+ cn : [
+
+ {
+ tag: 'code',
+ cls: 'parameter',
+ html : syn.returntype
+ },
+ syn.returndesc
+ ]
+
+ });
+ }
return cfg;
},
@@ -68,6 +84,7 @@
if (this.stype == 'parameter') {
return this.el.select('.roo-params',true).first();
}
+
return this.el;
}