Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support to drop callback (jquery.jOrgChart.js) #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Support to drop callback (jquery.jOrgChart.js) #7

wants to merge 1 commit into from

Conversation

wesleypimentel
Copy link

As we speak, here is the inclusion of support for callback functions on the event drop as user review @deJong-IT in wesnolte/jOrgChart#25 (comment). I hope it's satisfactory. In resume, if option dragAndDrop is set a function, the callback runs.
Note: In use, the solution worked well. But I noticed a certain delay between the drop event and the redraw of the chart, so I was forced to use a temporary timeout in my handler function, until find a better solution.
I take this opportunity to thank you for consideration and commend his excellent work with the script. Congratulations!

As we speak, here is the inclusion of support for callback functions on the event drop as user review @deJong-IT in wesnolte/jOrgChart#25 (comment). I hope it's satisfactory. In resume, if option dragAndDrop is set a function, the callback runs.
Note: In use, the solution worked well. But I noticed a certain delay between the drop event and the redraw of the chart, so I was forced to use a temporary timeout in my handler function, until find a better solution.
I take this opportunity to thank you for consideration and commend his excellent work with the script. Congratulations!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant