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

fileUploadDialog is not working properly since 1.07.2 #36

Closed
simoespt opened this issue Dec 3, 2022 · 3 comments
Closed

fileUploadDialog is not working properly since 1.07.2 #36

simoespt opened this issue Dec 3, 2022 · 3 comments

Comments

@simoespt
Copy link

simoespt commented Dec 3, 2022

The method parameters changed after 1.07.2, on the latest versions is requiring args and callback, im using as the example:
image
but im always facing the following error:
image

(I have tried diferent values on args object but without success)

I notice that https://code.balkan.app/result/family-tree-js/image-upload
is also returning the same error when trying to upload an image.

@ZornitsaPesheva
Copy link
Collaborator

I have changed the example:
https://code.balkan.app/family-tree-js/image-upload#JS

@simoespt
Copy link
Author

simoespt commented Dec 4, 2022

Thanks I will apply that fix for now, but code wise that is not 100% correct because the signature of the method indicates that has 2 arguments
image

@ZornitsaPesheva
Copy link
Collaborator

fixed

@simoespt simoespt closed this as completed Dec 4, 2022
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

No branches or pull requests

2 participants