VideoUploader.MessageSwitchAnotherFolderWarningText Property

Text of the warning message which is displayed when the user changes the current folder and some items are selected for upload in this folder.

Syntax

Initialize

JavaScript
<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
var vu = new VideoUploaderWriter("VideoUploaderID", 610, 500);
//...other params...
vu.addParam("MessageSwitchAnotherFolderWarningText", "You are about to switch to another folder. This will discard selection from selected files.

To proceed and lose selection click OK.
To keep the selection and stay in the current folder, click Cancel.");
//...other params...
vu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getVideoUploader("VideoUploaderID").setMessageSwitchAnotherFolderWarningText(value);
value = getVideoUploader("VideoUploaderID").getMessageSwitchAnotherFolderWarningText();

Property Value

A string value that displays a message which warns that the selection will be lost when the user navigates to another folder. To disable this message, set it to an empty string.

Default value is "You are about to switch to another folder. This will discard selection from selected files.

To proceed and lose selection click OK.
To keep the selection and stay in the current folder, click Cancel."
.

Remarks

This warning is actual only in TwoPanes layout. In other layouts switching to another folder will not discard selection.

This property is necessary for localization of Video Uploader.

Note

If you want to specify a multiline text use the "\n" sequence to separate lines.