Roo/bootstrap/Modal.js
[roojs1] / Roo / bootstrap / Modal.js
index 152e5de..57404d6 100644 (file)
@@ -512,7 +512,7 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component,  {
             !child_nodes ||
             child_nodes.length == 0
         ) {
-            return;
+            return 0;
         }
         
         var child_height = 0;