sync
[roojs1] / Roo / bootstrap / panel / Content.js
index a30de1f..e6c589b 100644 (file)
@@ -59,7 +59,9 @@ Roo.bootstrap.panel.Content = function( config){
         }else{
             var elcfg =  {
                 tag: "div",
-                cls: "roo-layout-inactive-content",
+                cls: (config.cls || '') +
+                    (config.background ? ' bg-' + config.background : '') +
+                    " roo-layout-inactive-content",
                 id: config.id||el
             };
             if (config.html) {