Auto initialize javascript
You can initialize the file form by including file_form/auto_init.js.
- You don't have to call
initUploadFieldsin your own javascript. - You still have to include
file_form/file_form.jsand you have to include it beforefile_form/auto_init.js.