Guest User

Untitled

a guest
Jan 24th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. in _upload.cfm in the fileuploadOptions object add:
  2. loadExistingFiles: <cfoutput>#IsDefined('loadExistingFiles') ? loadExistingFiles : 'true'#</cfoutput>,
  3.  
  4. in fileupload.js add near the top:
  5. this.loadExistingFiles = options.loadExistingFiles;
  6. same file wrap the // Load existing files logic with an if-statement:
  7. if (that.loadExistingFiles) {
  8. // code
  9. }
  10.  
  11. in upload.js add near the top:
  12. loadExistingFiles: options.loadExistingFiles,
  13.  
  14. 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