[patch] Accordioncontainer has a bug, here is a fix
If there are no children, then this is not working.
Index: src/widget/AccordionContainer.js
===================================================================
--- src/widget/AccordionContainer.js (revision 5157)
+++ src/widget/AccordionContainer.js (working copy)
@@ -46,7 +46,9 @@
},
onResized: function(){
- this.children[0].setSizes();
+ if (this.children.length > 0) {
+ this.children[0].setSizes();
+ }
}
}
);
Change History (4)
Milestone: |
→ 0.4
|
Summary: |
Accordioncontainer has a bug, here is a fix →
[patch] Accordioncontainer has a bug, here is a fix
|
Owner: |
changed from bill to Adam Peller
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
(In [5684]) Fixes #1238 (thanks, Joose -- CLA on file)