Django session and Dojo dnd.

11 views
Skip to first unread message

voss

unread,
Jun 1, 2012, 4:41:29 PM6/1/12
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"));

            }
Reply all
Reply to author
Forward
0 new messages