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.
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500); //...other params... iu.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... iu.writeHtml(); </script>
getImageUploader("ImageUploaderID").setMessageSwitchAnotherFolderWarningText(value); value = getImageUploader("ImageUploaderID").getMessageSwitchAnotherFolderWarningText();
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.".
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 Image Uploader.
If you want to specify a multiline text use the "\n"
sequence to separate lines.