The plug-in upload & update process can be configured using an item attribute
Initialization JavaScript Code.
function( pOptions ) {
pOptions.upload = {
"whenDownloadFails": uc.froala.C_CONTINUE, // or uc.froala.C_CANCEL, uc.froala.C_CONFIRM
"whenUploadFails" : uc.froala.C_CONTINUE, // or uc.froala.C_CANCEL, uc.froala.C_CONFIRM
"whenFinishAnyErr" : uc.froala.C_CONFIRM, // or uc.froala.C_CANCEL, uc.froala.C_CONTINUE
"status": {
"start" : true,
"cancel" : true,
"finishErr": true,
"finishOk" : true
"fail" : true
}
}
return pOptions;
}