Roo/mailer/Block.js
authorAlan Knowles <alan@roojs.com>
Thu, 18 Sep 2014 09:19:50 +0000 (17:19 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 18 Sep 2014 09:19:50 +0000 (17:19 +0800)
Roo/mailer/Block.js

index 36b7259..218bd87 100644 (file)
@@ -70,7 +70,7 @@ Roo.extend(Roo.mailer.Block, Roo.bootstrap.Component,  {
     getChildContainer : function(build_call)
     {
         // add a child...
-        if (this.blocktype == 'row') {
+        if (this.blocktype == 'row' && build_call) {
             var par = this.el.select(
                         '.roo-m-block-tr',true
                     ).first();