Opened 15 years ago
Closed 15 years ago
#267 closed defect (fixed)
Fix for HtmlDragMove when using setDragHandle()
Reported by: | 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);
}
});
Note: See
TracTickets for help on using
tickets.