Switch that specifies whether a folder should be added to upload list including its subfolders.
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500); //...other params... iu.addParam("IncludeSubfolders", "true"); //...other params... iu.writeHtml(); </script>
getImageUploader("ImageUploaderID").setIncludeSubfolders(value); value = getImageUploader("ImageUploaderID").getIncludeSubfolders();
A boolean value (true
or false
). If true
, folders are added including subfolders. Otherwise only files inside selected folder can be added.
Default value is "true".
This property also affects the Include Subfolders checkbox state in the Open Folder dialog.
If it is true
the check box appears selected, otherwise cleared.