From 070b78803b04b5420071fe051821f37ff8b545c2 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 4 Jan 2021 14:16:21 +0800 Subject: [PATCH] Roo/bootstrap/panel/Content.js --- Roo/bootstrap/panel/Content.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Roo/bootstrap/panel/Content.js b/Roo/bootstrap/panel/Content.js index 735ed01084..a972b7335b 100644 --- a/Roo/bootstrap/panel/Content.js +++ b/Roo/bootstrap/panel/Content.js @@ -28,6 +28,8 @@ * @cfg {Boolean} loadOnce When used with {@link #url}, calls {@link #setUrl} with this value * @cfg {String} content Raw content to fill content panel with (uses setContent on construction.) * @cfg {Boolean} badges render the badges + * @cfg {String} cls extra classes to use + * @cfg {String} background (primary|secondary|success|info|warning|danger|light|dark) * @constructor * Create a new ContentPanel. @@ -55,10 +57,11 @@ Roo.bootstrap.panel.Content = function( config){ this.el = Roo.DomHelper.append(document.body, config.autoCreate, true); }else{ - var elcfg = { tag: "div", - cls: "roo-layout-inactive-content", - id: config.id||el - }; + var elcfg = { + tag: "div", + cls: "roo-layout-inactive-content", + id: config.id||el + }; if (config.html) { elcfg.html = config.html; -- 2.39.2