Opened 8 years ago

Closed 8 years ago

#15426 closed defect (invalid)

TabContainer: in dijit/layout/ScrollingTabController.js throw error "Uncaught TypeError: Cannot set property 'layoutAlign' of undefined"

Reported by: jzw Owned by: jzw
Priority: undecided Milestone: tbd
Component: Dijit Version: 1.7.2
Keywords: Cc:
Blocked By: Blocking:

Description

I update the dojo code today once has new code.

When I update today, the code run normal throw error "Uncaught TypeError?: Cannot set property 'layoutAlign' of undefined".

the test browser is firefox 12.0 and latested chrome

code is

var tab = new TabContainer({});
var cp = new ContentPane({});
tab.addChild(cp);//this line throw error

// code in dijit/layout/ScrollingTabController.js in row 193
this._leftBtn.layoutAlign = "left";//this._leftBtn is undefined

Change History (3)

comment:1 Changed 8 years ago by bill

Component: DojoX LayoutDijit
Owner: set to jzw
Status: newpending
Summary: in dijit/layout/ScrollingTabController.js throw error "Uncaught TypeError: Cannot set property 'layoutAlign' of undefined"TabContainer: in dijit/layout/ScrollingTabController.js throw error "Uncaught TypeError: Cannot set property 'layoutAlign' of undefined"

http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/layout/test_TabContainer.html is working for me, please attach a test case using the "attach file" button and then comment here to reopen the ticket. The test case must be an HTML file that runs and reproduces the problem.

comment:2 Changed 8 years ago by jzw

Status: pendingnew

Thanks!

miss import "dijit/layout/BorderContainer" module in my page :(.

but that page can works before.

hi, how can I delete my fool ticket in trac if I report a fool bug? or only can change it to close?

Last edited 8 years ago by jzw (previous) (diff)

comment:3 Changed 8 years ago by bill

Resolution: invalid
Status: newclosed

We can only close the ticket as "invalid", but no worries.

Note: See TracTickets for help on using tickets.