projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
293922d
)
Roo/Toolbar.js
author
Edward
<edward@roojs.com>
Mon, 16 Sep 2013 04:07:44 +0000
(12:07 +0800)
committer
Edward
<edward@roojs.com>
Mon, 16 Sep 2013 04:07:44 +0000
(12:07 +0800)
Roo/Toolbar.js
patch
|
blob
|
history
diff --git
a/Roo/Toolbar.js
b/Roo/Toolbar.js
index
15707c6
..
d429219
100644
(file)
--- a/
Roo/Toolbar.js
+++ b/
Roo/Toolbar.js
@@
-37,13
+37,13
@@
Roo.Toolbar = function(container, buttons, config)
Roo.apply(this, config);
this.buttons = buttons;
-
//
if(container){
-
//
this.render(container);
-
//
}
-
//
this.xitems = xitems;
-
//
Roo.each(xitems, function(b) {
-
//
this.add(b);
-
//
}, this);
+ if(container){
+ this.render(container);
+ }
+ this.xitems = xitems;
+ Roo.each(xitems, function(b) {
+ this.add(b);
+ }, this);
};