Ticket #7651 (closed enhancement: fixed)
Tree: if two trees have same store then drag should move item, not copy it
| Reported by: | youngho | Owned by: | bill |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.4 |
| Component: | Dijit | Version: | 1.2beta |
| Severity: | normal | Keywords: | tree dndSource |
| Cc: |
Description (last modified by bill) (diff)
Hello,
When dragging/dropping within the same tree, drop calls model.pasteItem() to be called instead of model.newItem(), effectively moving the item.
I think the criteria for calling pasteItem() should be whether or not the two trees share the same store.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.