Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This event is used to receive feedback after files are uploaded in Genie. Upon successful upload, the function name or expression specified for this property will be executed. An feedback object is provided to the function or expression which can be expressed in the JSON format as follows: 

{
  "dir": String, // Directory files were upload to.
  "names": Array[String] // Array of file names.
}

When an expression is specified for this property, the feedback object is defined in variable 'info'. For example, the following expression could be used: 

alert(info.names.length + " files uploaded to directory " + info.dir);

If a function name is specified for this property, the feedback object will be the only argument to the function, for example: 

function myFunction(info) {

  alert(info.names.length + " files uploaded to directory " + info.dir);


}
  • No labels