fires after all files have been uploaded
files | array | an array of file objects |
myVault.attachEvent("onUploadComplete", function(files){
// files is an array [file, file, ...]
// file is an object with details
{
id: 123, // int, internal file ID
name: "filename.ext", // string, filename detected by browser
serverName: "filename2.ext", // string, filename returned by server
size: 132500, // int, file size in bytes
uploaded: true, // boolean, true/false
error: false // boolean, error while uploading, if any
}
// you code here
});
This API page is for Vault v2.5. Please go to docs.dhtmlx.com/vault/ to see API reference for the current version of dhtmlxVault.
added in version 2.0
Back to top