projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eccce14
)
Roo/ContentPanel.js
author
Alan Knowles
<alan@roojs.com>
Sun, 26 Aug 2012 14:53:06 +0000
(22:53 +0800)
committer
Alan Knowles
<alan@roojs.com>
Sun, 26 Aug 2012 14:53:06 +0000
(22:53 +0800)
Roo/ContentPanel.js
patch
|
blob
|
history
diff --git
a/Roo/ContentPanel.js
b/Roo/ContentPanel.js
index
508a2e5
..
5ef181f
100644
(file)
--- a/
Roo/ContentPanel.js
+++ b/
Roo/ContentPanel.js
@@
-81,7
+81,11
@@
Roo.ContentPanel = function(el, config, content){
// xtype created footer. - not sure if will work as we normally have to render first..
if (this.footer && !this.footer.el && this.footer.xtype) {
- this.footer.container = this.el.createChild();
+ if (!this.wrapEl) {
+ this.wrapEl = this.el.wrap();
+ }
+
+ this.footer.container = this.el.insertSibling(false, 'after');
this.footer = Roo.factory(this.footer, Roo);