Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#6771 closed defect (fixed)

DND: Internal source copy when copyOnly=true

Reported by: guest Owned by: Eugene Lazutkin
Priority: high Milestone: 1.2
Component: DnD Version: 1.1.0
Keywords: Cc:
Blocked By: Blocking:


Source objects receive an extra copy of an item if it is dragged, and released, over the source when copyOnly=true, regardless of the accept variable.

This can be demonstrated with the flickr viewer demo. Simply add "copyOnly=true" to the c1 object during creation, and change accept to anything...

I have gotten around this by simply checking for this.copyOnly in Source.js under the "transferring nodes within the single source" else block, however there must be more elegant solutions. New variable? Change in flow for self-drops?

Change History (3)

comment:1 Changed 14 years ago by guest

Reported by thelists at gmail dot com.

comment:2 Changed 14 years ago by Eugene Lazutkin

Resolution: fixed
Status: newclosed

Dup of #7051. Implemented.

comment:3 Changed 14 years ago by bill

Milestone: 1.2

marking tickets closed in the last three months w/blank milestone to milestone 1.2.

Note: See TracTickets for help on using tickets.