Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- in _upload.cfm in the fileuploadOptions object add:
- loadExistingFiles: <cfoutput>#IsDefined('loadExistingFiles') ? loadExistingFiles : 'true'#</cfoutput>,
- in fileupload.js add near the top:
- this.loadExistingFiles = options.loadExistingFiles;
- same file wrap the // Load existing files logic with an if-statement:
- if (that.loadExistingFiles) {
- // code
- }
- in upload.js add near the top:
- loadExistingFiles: options.loadExistingFiles,
- lastly, be sure to pass a CF variable in the calling page you use for loadExistingFiles = false
Add Comment
Please, Sign In to add comment