Namespace: file

Drupal. file

File upload utility functions.

Members

staticDrupal.file.disableFields

Prevent file uploads when using buttons not intended to upload.

staticDrupal.file.openInNewWindow

Open links to files within forms in a new window.

staticDrupal.file.progressBar

Add progress bar support if possible.

staticDrupal.file.triggerUploadButton

Trigger the upload_button mouse event to auto-upload as a managed file.

staticDrupal.file.validateExtension

Client-side file input validation of file extensions.