Roo/bootstrap/Column.js
authorAlan Knowles <alan@roojs.com>
Wed, 29 Jan 2014 14:50:20 +0000 (22:50 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 29 Jan 2014 14:50:20 +0000 (22:50 +0800)
Roo/bootstrap/Column.js

index 0fedf33..7f37ff0 100644 (file)
@@ -29,7 +29,7 @@ Roo.extend(Roo.bootstrap.Column, Roo.bootstrap.Component,  {
     sm: null,
     md: null,
     lg: null,
-    
+    html: '',
     offset: 0,
     
     getAutoCreate : function(){
@@ -46,6 +46,9 @@ Roo.extend(Roo.bootstrap.Column, Roo.bootstrap.Component,  {
                 cfg.cls += ' col-' + size + '-' + settings[size];
             }
         });
+        if (this.html.length) {
+            cfg.html = html;
+        }
        
         return cfg;
     }