#10744 closed defect (fixed)
dojox.widget.Rotator panes with id
Reported by: | Mariusz Jakubowski | Owned by: | cb1kenobi |
---|---|---|---|
Priority: | high | Milestone: | 1.5 |
Component: | DojoX Widgets | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
A bug occurs when I'm trying to create rotator with panes that have an id attribute. The message is "id is not defined" and the rotator widget is not created.
Example:
HTML: <div id="rotator"> <div id="pane1">x</div> <div id="pane2">y</div> </div> JS: new dojox.widget.AutoRotator({}, dojo.byId("rotator"));
I have found this bug in Rotator.js
if(q.id){ idm[id] = i; }
it should be
if(q.id){ idm[q.id] = i; }
Change History (3)
comment:1 Changed 11 years ago by
Owner: | changed from dante to cb1kenobi |
---|
comment:2 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 11 years ago by
Milestone: | tbd → 1.5 |
---|
Note: See
TracTickets for help on using
tickets.