BALKANGraph / FamilyTreeJS

Build family tree app with BALKAN FamilyTreeJS library. Family Tree also called a genealogy or a pedigree chart, is a chart representing family relationships in a conventional tree structure.
50 stars 16 forks source link

fileUploadDialog is not working properly since 1.07.2 #36

Closed simoespt closed 1 year ago

simoespt commented 1 year ago

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 commented 1 year ago

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

simoespt commented 1 year ago

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 commented 1 year ago

fixed