Opened 9 years ago
Closed 9 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 9 years ago by
Component: | DojoX Layout → Dijit |
---|---|
Owner: | set to jzw |
Status: | new → pending |
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" |
comment:2 Changed 9 years ago by
Status: | pending → new |
---|
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?
comment:3 Changed 9 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
We can only close the ticket as "invalid", but no worries.
Note: See
TracTickets for help on using
tickets.
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.