fires when all files have been successfully uploaded to the server
response | object | a server-side response (if any) |
$$("upl1").attachEvent("onUploadComplete", function(response){
webix.message("done");
});
The event takes a server-side response as a parameter.
If you tune you uploading script to return a response like
PHP response
// $sname - file save name
echo "{ status: 'server', sname:'$sname'}";
you can get it on the client side:
$$("upl1").attachEvent("onUploadComplete", function(response){
webix.message(response.status);
});