Hello, i am new to Dojo and i've got a problem with Drag&Drop in Internet Explorer.
My problem doesn't appear in Firefox, just with IE.
I want to reorder rows in a table, and these rows contain checkboxes.
The problem is that when I drag&drop the rows, values of the dragged checkbox is reset to False,whatever is the real value of the checkbox. (as i can see in the console)
If i just check or uncheck the box without dragging it, there is no problem.
I'm not sure it's clear, i join a part of my code :
script language="javascript" type="text/javascript"
src="/firebug/firebug.js">
@import "/dojo-release-1.1.0/dijit/themes/soria/soria.css";
dojo.require("dojo.dnd.Source");
dojo.require("dijit.form.Button");
dojo.require("dijit.form.CheckBox");
dojo.require("dojo.parser");
dojo.require("dojo.dnd.Avatar");
function enreg(){
dojo.query("[name^=cb]").forEach("console.debug(item.checked);");
}
function onChangeCheckBox(a) {
console.log("onChangeCheckBox", a, this, this.checked);
}
function init() {
checkBox1 = new dijit.form.CheckBox({
id : 'cb1'
,value : '1'
,onChange : onChangeCheckBox
,name:"cb1"
}, dojo.byId("b1"));
checkBox2 = new dijit.form.CheckBox({
id : 'cb2'
,value :'2'
,onChange : onChangeCheckBox
,name:"cb2"
}, dojo.byId("b2"));
checkBox3 = new dijit.form.CheckBox({
id : 'cb3'
,value : '3'
,onChange : onChangeCheckBox
,name:"cb3"
}, dojo.byId("b3"));
console.log("before setchecked checkbox1")
checkBox1.setAttribute('checked',true);
console.log("before setchecked checkbox2")
checkBox2.setAttribute('checked',true);
console.log("before setchecked checkbox3")
checkBox3.setAttribute('checked',true);
}
dojo.addOnLoad(init);
And the body part
<body class="soria">
<div dojoType="dojo.dnd.Source" accept="hop">
<div id="div1" class="dojoDndItem" dndType="hop">
<td class="nom">Accueil</td><td ><div id="b1"></div></td> </div>
<div id="div2" class="dojoDndItem" dndType="hop">
<td class="nom">Admin</td><td ><div id="b2"></div></td> </div>
<div id="div3" class="dojoDndItem" dndType="hop">
<td class="nom">News</td><td ><div id="b3"></div></td> </div>
</div>
</body>
<tr>
<td colspan="2">
<button value="Enregistrer" onclick="enreg()">Enregistrer</button>
</td>
</tr>
<div dojoType="dojo.dnd.Source" accept="hop">
<div id="div1" class="dojoDndItem" dndType="hop">
<td class="nom">Accueil</td><td ><div id="b1"></div></td> </div>
<div id="div2" class="dojoDndItem" dndType="hop">
<td class="nom">Admin</td><td ><div id="b2"></div></td> </div>
<div id="div3" class="dojoDndItem" dndType="hop">
<td class="nom">News</td><td ><div id="b3"></div></td> </div>
</div>
</body>
<tr>
<td colspan="2">
<button value="Enregistrer" onclick="enreg()">Enregistrer</button>
</td>
</tr>
As I said, no problem with this code in Firefox, but only with Internet Explorer...(i'm using IE6 btw)
If you see anything that might help me, i'll be happy to hear it !
Thanks in advance.

It may be a bug of IE6
It may be a bug of IE6 — the DnD doesn't do anything with the payload. Please file a bug (use guest/guest to log in) and attach the minimal program to reproduce this problem.
done, this ticket is now
done, this ticket is now know as ticket #6783...