#1486 closed defect (fixed)
this.tabList has no properties - bootstrap1.js (line 422)
Reported by: | José Renato | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Widgets | Version: | 0.3 |
Keywords: | TabContainer, destroy, tabList, has no properties | Cc: | |
Blocked By: | Blocking: |
Description
When updating a ContentPane? wich contains a TabContainer? the message "this.tabList has no properties - bootstrap1.js (line 422)" is thrown. The application breaks down.
- Line 422 does not exist in bootstrap1.js file;
- "this.tabList" is referenced in TabContent?, function destroy;
- Surrounding this reference with "if (this.tabList)" avoids this error;
Probably when the destroy method is invoked the inner component tabList for some reason does not exist.
Note: See
TracTickets for help on using
tickets.
this can be reproduced in: tests/widget/test_LayoutCode.html
creating "tab layout", hit the first destroy button on the right, an error is reported: this.tabList has no properties