Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#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:


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.

Change History (3)

comment:1 Changed 16 years ago by liucougar

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

comment:2 Changed 16 years ago by bill

Resolution: fixed
Status: newclosed

(In [5813]) Fixes #1486

comment:3 Changed 15 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.