Opened 13 years ago

Closed 13 years ago

#267 closed defect (fixed)

Fix for HtmlDragMove when using setDragHandle()

Reported by: markasdf@… Owned by: anonymous
Priority: high Milestone:
Component: General Version: 0.2
Keywords: drag move dnd Cc:
Blocked By: Blocking:

Description

HtmlDragMove? doesn't work when using setDragHandle(). For example try to drag/move a 'window' div by it's 'titlebar' div. Only the title bar gets drag/moved.

Fix is- Change this: dojo.lang.extend(dojo.dnd.HtmlDragMoveSource?, {

onDragStart: function(){

return new dojo.dnd.HtmlDragMoveObject?(this.domNode, this.type);

}

});

to this: dojo.lang.extend(dojo.dnd.HtmlDragMoveSource?, {

onDragStart: function(){

return new dojo.dnd.HtmlDragMoveObject?(this.dragObject, this.type);

}

});

Change History (1)

comment:1 Changed 13 years ago by anonymous

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.