X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=Roo%2Fbootstrap%2FCard.js;h=ba847e3001b2b42e17265748bf884af94ad7c09a;hp=08f1a9526122db3808959edc2d3e14e542bc5f54;hb=2eac3bcae68469002cd1e1d10fc586e9c5959b35;hpb=5a8c6bc4b338b18557d3c7ae33043a3d8e1538e7 diff --git a/Roo/bootstrap/Card.js b/Roo/bootstrap/Card.js index 08f1a95261..ba847e3001 100644 --- a/Roo/bootstrap/Card.js +++ b/Roo/bootstrap/Card.js @@ -91,7 +91,7 @@ Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, { title : '', subtitle : '', html : '', - + footer: '', childContainer : false, @@ -186,7 +186,7 @@ Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, { cls : 'card-body', cn : [] }; - cfg.push(body); + cfg.cn.push(body); if (this.title.length) { body.cn.push({ @@ -209,6 +209,12 @@ Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, { cls : 'roo-card-body-ctr' }); + if (this.html.length) { + body.cn.push({ + tag: 'div', + html : this.html + }); + } // fixme ? handle objects? if (this.footer.length) { body.cn.push({