Page 1 of 1

UploadGadget() - need server result

Posted: Thu Nov 15, 2018 3:45 pm
by Dirk Geppert
I use this nice gadget from falsam: for upload purposes.

Is there a way to extend the callback, so that the return value from the UploadServer will also passed by? Line 103:
Code: Select all
    ;   #DZ_EventType_Success = 4
    !      this.on("complete", function(file) {
    !         this.removeFile(file)
    !     v_callback(4,, file.size, "Complete")
    !      });

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

Ciao Dirk