projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa18dc3
)
Roo/bootstrap/panel/Content.js
author
Alan Knowles
<alan@roojs.com>
Thu, 13 Jul 2017 07:59:14 +0000
(15:59 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 13 Jul 2017 07:59:14 +0000
(15:59 +0800)
Roo/bootstrap/panel/Content.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/panel/Content.js
b/Roo/bootstrap/panel/Content.js
index
234237d
..
006d940
100644
(file)
--- a/
Roo/bootstrap/panel/Content.js
+++ b/
Roo/bootstrap/panel/Content.js
@@
-71,7
+71,7
@@
Roo.bootstrap.panel.Content = function( config){
if (config.toolbar && !config.toolbar.el && config.toolbar.xtype) {
this.wrapEl = this.el.wrap();
-
+ var tool_el = this.wrapper.createChild();
this.toolbar = new config.toolbar.xns[config.toolbar.xtype](config.toolbar);
@@
-82,7
+82,7
@@
Roo.bootstrap.panel.Content = function( config){
}
var nitems = [];
- this.toolbar.render(t
his.el, 'before'
);
+ this.toolbar.render(t
ool_el
);
for(var i =0;i < ti.length;i++) {
// Roo.log(['add child', items[i]]);
nitems.push(this.toolbar.addxtype(Roo.apply({}, ti[i])));