This documentation is for the old version. Go to the latest Upload Suite docs

messages.deletingFilesError Property

Supported browsers: FirefoxGoogle ChromeSafari

Gets or sets a message which states that the uploaded file cannot be deleted.

Syntax

JavaScript Initialize
$au.uploader({
    messages: {
        //...other params...
        deletingFilesError: "The file '[name]' cannot be deleted",
        //...other params...
    }
})

Property Value

Type: String

The message which states that the uploaded file cannot be deleted, e.g. it is used by another application. It can contain the following placeholder:

[name]
replaced by the name of the file which cannot be deleted.

Default value is "The file '[name]' cannot be deleted".

Remarks

Note

A difference between Image Uploader behavior in Internet Explorer and other supported browsers is the following. When Image Uploader deletes files in Internet Explorer, it moves them in the way specified in the Recycle Bin properties. By default, a standard delete confirmation dialog appears and files are moved to the Recycle Bin if a user clicks Yes. However, if Image Uploader deletes files in any of other supported browsers, the internal delete confirmation dialog appears and files are removed permanently when a user clicks Yes.

This property is necessary for localization of Image Uploader.

See Also

Reference