postUpload

Since: Editor 1.8.1

Event to indicate that a file upload is complete and has been processed.
Please note - this property requires the Editor extension for DataTables.

Description

This event is triggered whenever a file has been uploaded and processed (both upload / uploadMany) by the end user. It can be used to update the UI to indicate that the file has been uploaded (note that Editor's own UI will automatically update).

Type

function( e, fieldName, fieldValue )

Parameters:

Example

Simple notification of upload complete:

editor.on( 'postUpload', function ( e, fieldName, val ) {
		notify( 'Upload complete' );
	} );

Related

The following options are directly related and may also be useful in your application development.