Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#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 9 years ago by cb1kenobi

Owner: changed from dante to cb1kenobi

comment:2 Changed 9 years ago by cb1kenobi

Resolution: fixed
Status: newclosed

comment:3 Changed 9 years ago by dante

Milestone: tbd1.5
Note: See TracTickets for help on using tickets.