From b4d2d2864d9e3e9e7a632cbdbf2efde4fa371c5b Mon Sep 17 00:00:00 2001 From: john Date: Tue, 28 Nov 2017 15:05:28 +0800 Subject: [PATCH] Roo/bootstrap/panel/Content.js --- Roo/bootstrap/panel/Content.js | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/Roo/bootstrap/panel/Content.js b/Roo/bootstrap/panel/Content.js index 5805e280fc..d6127d550c 100644 --- a/Roo/bootstrap/panel/Content.js +++ b/Roo/bootstrap/panel/Content.js @@ -387,20 +387,11 @@ panel.load({ continue; } - switch (true) { - case (k.indexOf('xs') >= 0): - t += '' + this.title[k] + ''; - case (k.indexOf('sm') >= 0): - t += '' + this.title[k] + ''; - case (k.indexOf('md') >= 0): - t += '' + this.title[k] + ''; - case (k.indexOf('lg') >= 0): - t += '' + this.title[k] + ''; + if (k.indexOf('-') >= 0) { + var s = k.split('-'); + Roo.log(s); } - } - Roo.log(t); - return t; }, -- 2.39.2