Auto initialize javascript

You can initialize the file form by including file_form/auto_init.js.

  • You don't have to call initUploadFields in your own javascript.
  • You still have to include file_form/file_form.js and you have to include it before file_form/auto_init.js.