projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4533e3
)
Roo/bootstrap/Component.js
author
Alan Knowles
<alan@roojs.com>
Mon, 21 May 2018 05:26:34 +0000
(13:26 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 21 May 2018 05:26:34 +0000
(13:26 +0800)
Roo/bootstrap/Component.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Component.js
b/Roo/bootstrap/Component.js
index
dc49a90
..
280c25f
100644
(file)
--- a/
Roo/bootstrap/Component.js
+++ b/
Roo/bootstrap/Component.js
@@
-241,7
+241,10
@@
Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent, {
var has_flexy = (typeof(tree['flexy:if']) != 'undefined') ||
(typeof(tree['flexy:foreach']) != 'undefined');
-
+ if(this[cntr](true) === false){
+ tree.items = [];
+ return cn;
+ }
skip_children = false;
// render the element if it's not BODY.
@@
-319,8
+322,7
@@
Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent, {
}
// then add the element..
}
-
-
+
// handle the kids..
var nitems = [];