#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: |
Description
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
comment:2 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Dup of #7051. Implemented.
comment:3 Changed 14 years ago by
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.
Reported by thelists at gmail dot com.