Roo/doc/Section.js
authorAlan Knowles <alan@roojs.com>
Wed, 26 Oct 2016 02:16:26 +0000 (10:16 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 26 Oct 2016 02:16:26 +0000 (10:16 +0800)
Roo/doc/Section.js

index 82858de..a257428 100644 (file)
@@ -58,7 +58,7 @@ Roo.extend(Roo.doc.Section, Roo.bootstrap.Component,  {
             
             cfg.cn.push(ul);
         }
-        if (this.stype == 'return' && syn.returndesc.length) {
+        if (this.stype == 'return' && (syn.returndesc.length | syn.returntype.length )) {
             
             cfg.cn.push({
                 tag: 'p',