projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bae143
)
Roo/ContentPanel.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 26 Aug 2011 05:09:56 +0000
(13:09 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 26 Aug 2011 05:09:56 +0000
(13:09 +0800)
Roo/ContentPanel.js
patch
|
blob
|
history
diff --git
a/Roo/ContentPanel.js
b/Roo/ContentPanel.js
index
42a3ba5
..
781e0fe
100644
(file)
--- a/
Roo/ContentPanel.js
+++ b/
Roo/ContentPanel.js
@@
-74,8
+74,9
@@
Roo.ContentPanel = function(el, config, content){
}
if (this.toolbar && !this.toolbar.el && this.toolbar.xtype) {
- this.wrapEl = this.el.wrap();
- this.toolbar = new Roo.Toolbar(this.el.insertSibling(false, 'before'), [] , this.toolbar);
+ this.wrapEl = this.el.wrap();
+ this.toolbar.container = this.el.insertSibling(false, 'before');
+ this.toolbar = new Roo.Toolbar(this.toolbar);
}