typo in card
[roojs1] / roojs-bootstrap-debug.js
index 4e8f53b..157945e 100644 (file)
@@ -2091,6 +2091,7 @@ Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component,  {
         cfg.cls += this.layoutCls(); 
         
         var hdr = false;
+        var hdr_ctr = false;
         if (this.header.length) {
             hdr = {
                 tag : this.header_size > 0 ? 'h' + this.header_size : 'div',
@@ -2106,6 +2107,7 @@ Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component,  {
                 cn : []
             };
             cfg.cn.push(hdr);
+            hdr_ctr = hdr;
         }
         if (this.collapsable) {
             hdr_ctr = {