voss
unread,Jun 1, 2012, 4:41:29 PM6/1/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dojang...@googlegroups.com
I have a
var source1 = new dojo.dnd.Source("itemListNode");
var source2 = new dojo.dnd.Target("selectedListNode");
dojo.connect( source1, "onDndDrop",
function(source, nodes, copy, target){
for( i=0; i < nodes.length; i++){
item = this.getItem(nodes[i].id);
detail = item.data;
}
dojo.cookie("nameList", cookieToArray.concat(nameObj));
console.log("cookie after drop: ", dojo.cookie("nameList"));
console.log("host name:", window.location.hostname);
console.log(location.href);
//console.log(dojo.attr(dojo.byId(nameObj[0]), "detail"));
}