Just starting out? Need help? Post your questions and find answers here.
Dirk Geppert
 
Posts: 90
Joined: Fri Sep 22, 2017 7:02 am

UploadGadget() - need server result

by Dirk Geppert Thu Nov 15, 2018 3:45 pm

I use this nice gadget from falsam: https://github.com/falsam/UpLoadGadget for upload purposes.

Is there a way to extend the callback, so that the return value from the UploadServer will also passed by?

UploadGadget.sbi Line 103:
Code: Select all
    ;   #DZ_EventType_Success = 4
    !      this.on("complete", function(file) {
    !         this.removeFile(file)
    !     v_callback(4, file.name, file.size, "Complete")
    !      });


I need the return result, because it contains an ID to be able to access the upload again later.

Ciao Dirk
Return to Coding Questions

Who is online

Users browsing this forum: No registered users and 2 guests