From: Alan Knowles Date: Mon, 4 Jan 2021 06:16:21 +0000 (+0800) Subject: Roo/bootstrap/panel/Content.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=070b78803b04b5420071fe051821f37ff8b545c2 Roo/bootstrap/panel/Content.js --- 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;