Namespace: file

Drupal.file

File upload utility functions.

Source:

Members

(static) disableFields

Prevent file uploads when using buttons not intended to upload.

Source:

(static) openInNewWindow

Open links to files within forms in a new window.

Source:

(static) progressBar

Add progress bar support if possible.

Source:

(static) triggerUploadButton

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

Source:

(static) validateExtension

Client-side file input validation of file extensions.

Source: