Roo/bootstrap/Body.js
authorAlan Knowles <alan@roojs.com>
Thu, 21 Aug 2014 06:14:46 +0000 (14:14 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 21 Aug 2014 06:14:46 +0000 (14:14 +0800)
Roo/bootstrap/Body.js

index 00eec7a..0526078 100644 (file)
@@ -26,10 +26,11 @@ Roo.extend(Roo.bootstrap.Body, Roo.bootstrap.Component,  {
         cls: 'container'
     },
     onRender : function(ct, position){
+        if (this.cls && this.cls.length) {
+            Roo.select('body').addClass(this.cls);
+        }
         
         
-        //this.el.addClass([this.fieldClass, this.cls]);
-        
     }