Event - upload complete
Use onUploadComplete event handler to update your DhtmlX controls or check the upload status.
The handler is called with files array as an argument. It contains file objects with the following properties:
file = { id: "1", name: "file.name", uploaded: true/false, error: true/false };
uploaded is true if the file was successfully uploaded. If error happened during upload, error property will be true and the upload will stop.