Opened 12 years ago
Closed 5 years ago
#9164 closed enhancement (patchwelcome)
Create dojo.dnd.Source moveOnly flag
Reported by: | Aleksey Rechinskiy | Owned by: | Eugene Lazutkin |
---|---|---|---|
Priority: | high | Milestone: | 1.13 |
Component: | DnD | Version: | 1.3.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Hi!
There is a copyOnly flag in dojo.dnd.Source which makes any node move within a container to initiate the node copy operation. If this flag is not set, the copy occurs only when ctrl key is pressed during a node move.
I would like to suggest to create a complimentary flag - moveOnly, which makes any node move operation a truly move and it doesn't matter if the ctrl (or any other key) is pressed.
I use dojo.dnd.Source as an ordered container for some user data and I need it to allow a move operation only, data copying mustn't happen in any case.
I know the problem can be easily solved by overriding copyState() function in Source- derived class, but with the simple moveOnly flag it wouldn't require any code writing at all.
Change History (2)
comment:1 Changed 12 years ago by
Milestone: | tbd → future |
---|
comment:2 Changed 5 years ago by
Milestone: | future → 1.12 |
---|---|
Resolution: | → patchwelcome |
Status: | new → closed |
Given that no one has shown interest in creating a patch in the past 5+ years, I'm closing this as patchwelcome.
Pushing TBD tickets to future to clear them from the 1.4 queue, please assign a real milestone if you start working on these tickets.