Opened 11 years ago

Closed 11 years ago

#7421 closed defect (invalid)

Dojo dnd firefox 3 bugs

Reported by: human Owned by: anonymous
Priority: high Milestone: tbd
Component: General Version: 1.1.1
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by Adam Peller)

I hava written a test for dojo dnd(when I drag item to another container,I use dwr to do something for the item in the server side),it works well in IE and firefox 2,but in firefox 3,when I drag an item,there is a Tail after the item ,after I drop the item in another container, the tail is still in the page(something like some delays in onmouseover).Is it dojo bug or firefox 3 bug?When I delete the dwr method for the item,It works well in firefox 3.So I can not use dwr when I drag?Or just a bug in firefox 3? How to resolve it?

n the dnd container,I hava override the "creator" using container_creator_staticSubmenu: return container_creator_staticSubmenu(item);

in container_creator_staticSubmenu, I have used dwr to get some information ,like below:

var container_creator_staticSubmenu = function(item) {  

var node;

DWREngine.setAsync(false);

controller.getPageMakerInfoAndNotSave(item,function(data2) {

node = dojo.doc.createElement("span");

node.innerHTML = "" + data2.title + "";

node.id = dojo.dnd.getUniqueId();

});

return {node: node, data: item};

};

If I delete the dwr function,it works well in firefox 3(no tails).But why it always works well in firefox 2 and IE(include dwr function). It's dojo or firefox 3'bug?How to resolve?

Change History (2)

comment:1 Changed 11 years ago by Adam Peller

Description: modified (diff)

comment:2 Changed 11 years ago by Eugene Lazutkin

Resolution: invalid
Status: newclosed

From the description and the example the most probable point of failure is the DWR function. This bug should be reported to DWR rather than Dojo.

Note: See TracTickets for help on using tickets.