Item callback "drop" firing event ignoring the "dragTo" board values
See original GitHub issueWhen I set the dragTo
value to a board, the item
callbackdrop
is ignoring dragTo
possible limitations.
In my project, I’m allowing the items to move through the boards one at once. It’s working fine, but when this is done, I have to change the status_id
of this item I dragged to the next board. To accomplish this, I created an $.ajax
to post the new id to that Item. The problem is: the drop
callback is firing this $.ajax
dispite of the board limitations (which is visually showing that the dropping are not allowed in certain boards), changing the item
ID, which is not the expected behaviour. Can you help me with this? What can I be doing wrong on here?
Sorry if this is not an Issue. Tell me if it’s not. Thanks for this amazing work!
Regards, Jhon
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top GitHub Comments
Thanks, @marcosrocha85 ! This solved my problem. I had to remove the
var new_board = target.children("header").data('board_id');
line, which was throwing the errortarget.children its not a function
. Anyways, I sorted this out and everything is working as expected. Thanks a lot!Regards, Jhon
@jhonatanjunio My example of code: