projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ae64d1
)
Roo/ContentPanel.js
author
Alan Knowles
<alan@roojs.com>
Fri, 18 Dec 2020 03:38:50 +0000
(11:38 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 18 Dec 2020 03:38:50 +0000
(11:38 +0800)
Roo/ContentPanel.js
patch
|
blob
|
history
diff --git
a/Roo/ContentPanel.js
b/Roo/ContentPanel.js
index
806c382
..
68b9308
100644
(file)
--- a/
Roo/ContentPanel.js
+++ b/
Roo/ContentPanel.js
@@
-65,9
+65,8
@@
Roo.ContentPanel = function(el, config, content){
{tag: "div", cls: "x-layout-inactive-content", id: config.id||el}, true);
}
}
- if (this.style) {
- this.el.applyStyles(this.style);
- delete this.style;
+ if (config.style) {
+ this.el.applyStyles(config.style);
}
this.closable = false;